« blib/lib/Google/Ads/AdWords/v201309/BiddingScheme.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201309/BiddingStrategyError.pm »
| 1 | package Google::Ads::AdWords::v201309::BiddingStrategyConfiguration; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | |||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 7 | |||
| 8 | sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201309' }; | ||
| 9 | |||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||
| 12 | |||
| 13 | sub __get_attr_class { | ||
| 14 | return $XML_ATTRIBUTE_CLASS; | ||
| 15 | } | ||
| 16 | |||
| 17 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 18 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||
| 19 | |||
| 20 | Class::Std::initialize(); | ||
| 21 | |||
| 22 | { # BLOCK to scope variables | ||
| 23 | |||
| 24 | my %biddingStrategyId_of :ATTR(:get<biddingStrategyId>); | ||
| 25 | my %biddingStrategyName_of :ATTR(:get<biddingStrategyName>); | ||
| 26 | my %biddingStrategyType_of :ATTR(:get<biddingStrategyType>); | ||
| 27 | my %biddingStrategySource_of :ATTR(:get<biddingStrategySource>); | ||
| 28 | my %biddingScheme_of :ATTR(:get<biddingScheme>); | ||
| 29 | my %bids_of :ATTR(:get<bids>); | ||
| 30 | |||
| 31 | __PACKAGE__->_factory( | ||
| 32 | [ qw( biddingStrategyId | ||
| 33 | biddingStrategyName | ||
| 34 | biddingStrategyType | ||
| 35 | biddingStrategySource | ||
| 36 | biddingScheme | ||
| 37 | bids | ||
| 38 | |||
| 39 | ) ], | ||
| 40 | { | ||
| 41 | 'biddingStrategyId' => \%biddingStrategyId_of, | ||
| 42 | 'biddingStrategyName' => \%biddingStrategyName_of, | ||
| 43 | 'biddingStrategyType' => \%biddingStrategyType_of, | ||
| 44 | 'biddingStrategySource' => \%biddingStrategySource_of, | ||
| 45 | 'biddingScheme' => \%biddingScheme_of, | ||
| 46 | 'bids' => \%bids_of, | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | 'biddingStrategyId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 50 | 'biddingStrategyName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 51 | 'biddingStrategyType' => 'Google::Ads::AdWords::v201309::BiddingStrategyType', | ||
| 52 | 'biddingStrategySource' => 'Google::Ads::AdWords::v201309::BiddingStrategySource', | ||
| 53 | 'biddingScheme' => 'Google::Ads::AdWords::v201309::BiddingScheme', | ||
| 54 | 'bids' => 'Google::Ads::AdWords::v201309::Bids', | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | |||
| 58 | 'biddingStrategyId' => 'biddingStrategyId', | ||
| 59 | 'biddingStrategyName' => 'biddingStrategyName', | ||
| 60 | 'biddingStrategyType' => 'biddingStrategyType', | ||
| 61 | 'biddingStrategySource' => 'biddingStrategySource', | ||
| 62 | 'biddingScheme' => 'biddingScheme', | ||
| 63 | 'bids' => 'bids', | ||
| 64 | } | ||
| 65 | ); | ||
| 66 | |||
| 67 | } # end BLOCK | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | 1; | ||
| 76 | |||
| 77 | |||
| 78 | =pod | ||
| 79 | |||
| 80 | =head1 NAME | ||
| 81 | |||
| 82 | Google::Ads::AdWords::v201309::BiddingStrategyConfiguration | ||
| 83 | |||
| 84 | =head1 DESCRIPTION | ||
| 85 | |||
| 86 | Perl data type class for the XML Schema defined complexType | ||
| 87 | BiddingStrategyConfiguration from the namespace https://adwords.google.com/api/adwords/cm/v201309. | ||
| 88 | |||
| 89 | Encapsulates the information about bids and bidding strategies. Bidding Strategy can be set on campaigns, ad groups or ad group criteria. A bidding strategy can be set using one of the following: <ul> <li>{@linkplain BiddingStrategyConfiguration#biddingScheme bidding scheme}</li> <li>{@linkplain BiddingStrategyConfiguration#biddingStrategyType bidding strategy type}</li> <li>{@linkplain BiddingStrategyConfiguration#biddingStrategyId bidding strategy ID} for flexible bid strategies.</li> </ul> If the bidding strategy type is used, then schemes are created using default values. Bids can be set only on ad groups and ad group criteria. They cannot be set on campaigns. Multiple bids can be set at the same time. Only the bids that apply to the campaign's {@linkplain Campaign#biddingStrategyConfiguration bidding strategy} will be used. For more information on flexible bidding, visit the <a href="https://support.google.com/adwords/answer/2979071">Help Center</a>. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 PROPERTIES | ||
| 95 | |||
| 96 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 97 | methods: | ||
| 98 | |||
| 99 | =over | ||
| 100 | |||
| 101 | =item * biddingStrategyId | ||
| 102 | |||
| 103 | |||
| 104 | =item * biddingStrategyName | ||
| 105 | |||
| 106 | |||
| 107 | =item * biddingStrategyType | ||
| 108 | |||
| 109 | |||
| 110 | =item * biddingStrategySource | ||
| 111 | |||
| 112 | |||
| 113 | =item * biddingScheme | ||
| 114 | |||
| 115 | |||
| 116 | =item * bids | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | =back | ||
| 122 | |||
| 123 | |||
| 124 | =head1 METHODS | ||
| 125 | |||
| 126 | =head2 new | ||
| 127 | |||
| 128 | Constructor. The following data structure may be passed to new(): | ||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head1 AUTHOR | ||
| 136 | |||
| 137 | Generated by SOAP::WSDL | ||
| 138 | |||
| 139 | =cut | ||
| 140 |