| lib/Google/Ads/AdWords/v201710/AdGroupEstimateRequest.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 11 | 81.8 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 5 | 60.0 |
| pod | n/a | ||
| total | 12 | 16 | 75.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Google::Ads::AdWords::v201710::AdGroupEstimateRequest; | ||||||
| 2 | 1 | 1 | 2825 | use strict; | |||
| 1 | 3 | ||||||
| 1 | 32 | ||||||
| 3 | 1 | 1 | 6 | use warnings; | |||
| 1 | 2 | ||||||
| 1 | 142 | ||||||
| 4 | |||||||
| 5 | |||||||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||||||
| 7 | |||||||
| 8 | 0 | 0 | sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201710' }; | ||||
| 9 | |||||||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||||||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||||||
| 12 | |||||||
| 13 | sub __get_attr_class { | ||||||
| 14 | 0 | 0 | return $XML_ATTRIBUTE_CLASS; | ||||
| 15 | } | ||||||
| 16 | |||||||
| 17 | |||||||
| 18 | 1 | 1 | 8 | use base qw(Google::Ads::AdWords::v201710::EstimateRequest); | |||
| 1 | 3 | ||||||
| 1 | 328 | ||||||
| 19 | # Variety: sequence | ||||||
| 20 | use Class::Std::Fast::Storable constructor => 'none'; | ||||||
| 21 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||||||
| 22 | |||||||
| 23 | { # BLOCK to scope variables | ||||||
| 24 | |||||||
| 25 | my %EstimateRequest__Type_of :ATTR(:get |
||||||
| 26 | my %adGroupId_of :ATTR(:get |
||||||
| 27 | my %keywordEstimateRequests_of :ATTR(:get |
||||||
| 28 | my %maxCpc_of :ATTR(:get |
||||||
| 29 | |||||||
| 30 | __PACKAGE__->_factory( | ||||||
| 31 | [ qw( EstimateRequest__Type | ||||||
| 32 | adGroupId | ||||||
| 33 | keywordEstimateRequests | ||||||
| 34 | maxCpc | ||||||
| 35 | |||||||
| 36 | ) ], | ||||||
| 37 | { | ||||||
| 38 | 'EstimateRequest__Type' => \%EstimateRequest__Type_of, | ||||||
| 39 | 'adGroupId' => \%adGroupId_of, | ||||||
| 40 | 'keywordEstimateRequests' => \%keywordEstimateRequests_of, | ||||||
| 41 | 'maxCpc' => \%maxCpc_of, | ||||||
| 42 | }, | ||||||
| 43 | { | ||||||
| 44 | 'EstimateRequest__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 45 | 'adGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||||||
| 46 | 'keywordEstimateRequests' => 'Google::Ads::AdWords::v201710::KeywordEstimateRequest', | ||||||
| 47 | 'maxCpc' => 'Google::Ads::AdWords::v201710::Money', | ||||||
| 48 | }, | ||||||
| 49 | { | ||||||
| 50 | |||||||
| 51 | 'EstimateRequest__Type' => 'EstimateRequest.Type', | ||||||
| 52 | 'adGroupId' => 'adGroupId', | ||||||
| 53 | 'keywordEstimateRequests' => 'keywordEstimateRequests', | ||||||
| 54 | 'maxCpc' => 'maxCpc', | ||||||
| 55 | } | ||||||
| 56 | ); | ||||||
| 57 | |||||||
| 58 | } # end BLOCK | ||||||
| 59 | |||||||
| 60 | |||||||
| 61 | |||||||
| 62 | |||||||
| 63 | |||||||
| 64 | |||||||
| 65 | |||||||
| 66 | 1; | ||||||
| 67 | |||||||
| 68 | |||||||
| 69 | =pod | ||||||
| 70 | |||||||
| 71 | =head1 NAME | ||||||
| 72 | |||||||
| 73 | Google::Ads::AdWords::v201710::AdGroupEstimateRequest | ||||||
| 74 | |||||||
| 75 | =head1 DESCRIPTION | ||||||
| 76 | |||||||
| 77 | Perl data type class for the XML Schema defined complexType | ||||||
| 78 | AdGroupEstimateRequest from the namespace https://adwords.google.com/api/adwords/o/v201710. | ||||||
| 79 | |||||||
| 80 | Represents an ad group that will be estimated. Ad groups may be all new or all existing, or a mixture of new and existing. Only existing campaigns can contain estimates for existing ad groups.
To make a keyword estimates request in which estimates do not consider existing account information (e.g. historical ad group performance), set both {@link #adGroupId} and the enclosing {@link CampaignEstimateRequest}'s {@code campaignId} to {@code null}. For more details on usage, refer to document at {@link CampaignEstimateRequest}. |
||||||
| 81 | |||||||
| 82 | |||||||
| 83 | |||||||
| 84 | |||||||
| 85 | =head2 PROPERTIES | ||||||
| 86 | |||||||
| 87 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||||||
| 88 | methods: | ||||||
| 89 | |||||||
| 90 | =over | ||||||
| 91 | |||||||
| 92 | =item * adGroupId | ||||||
| 93 | |||||||
| 94 | |||||||
| 95 | =item * keywordEstimateRequests | ||||||
| 96 | |||||||
| 97 | |||||||
| 98 | =item * maxCpc | ||||||
| 99 | |||||||
| 100 | |||||||
| 101 | |||||||
| 102 | |||||||
| 103 | =back | ||||||
| 104 | |||||||
| 105 | |||||||
| 106 | =head1 METHODS | ||||||
| 107 | |||||||
| 108 | =head2 new | ||||||
| 109 | |||||||
| 110 | Constructor. The following data structure may be passed to new(): | ||||||
| 111 | |||||||
| 112 | |||||||
| 113 | |||||||
| 114 | |||||||
| 115 | |||||||
| 116 | |||||||
| 117 | =head1 AUTHOR | ||||||
| 118 | |||||||
| 119 | Generated by SOAP::WSDL | ||||||
| 120 | |||||||
| 121 | =cut | ||||||
| 122 |