« lib/Google/Ads/AdWords/v201809/AdGroup.pm
↑ Summary
lib/Google/Ads/AdWords/v201809/AdGroupAdLabel.pm »
| 1 | package Google::Ads::AdWords::v201809::AdGroupAd; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | |||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 7 | |||
| 8 | 0 | ▶ | sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }; |
|
Subroutine
get_xmlns: not called CC=1 SCAR=6.9
| |||
| 9 | |||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||
| 12 | |||
| 13 | 0 | ▶ | sub __get_attr_class { |
|
Subroutine
__get_attr_class: not called CC=1 SCAR=6.9
| |||
| 14 | 0 | return $XML_ATTRIBUTE_CLASS; | |
| 15 | } | ||
| 16 | |||
| 17 | 1 | ▶ | use Class::Std::Fast::Storable constructor => 'none'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use base qw(Google::Ads::SOAP::Typelib::ComplexType); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | { # BLOCK to scope variables | ||
| 21 | |||
| 22 | my %adGroupId_of :ATTR(:get<adGroupId>); | ||
| 23 | my %ad_of :ATTR(:get<ad>); | ||
| 24 | my %status_of :ATTR(:get<status>); | ||
| 25 | my %policySummary_of :ATTR(:get<policySummary>); | ||
| 26 | my %labels_of :ATTR(:get<labels>); | ||
| 27 | my %baseCampaignId_of :ATTR(:get<baseCampaignId>); | ||
| 28 | my %baseAdGroupId_of :ATTR(:get<baseAdGroupId>); | ||
| 29 | my %forwardCompatibilityMap_of :ATTR(:get<forwardCompatibilityMap>); | ||
| 30 | my %adStrengthInfo_of :ATTR(:get<adStrengthInfo>); | ||
| 31 | |||
| 32 | __PACKAGE__->_factory( | ||
| 33 | [ qw( adGroupId | ||
| 34 | ad | ||
| 35 | status | ||
| 36 | policySummary | ||
| 37 | labels | ||
| 38 | baseCampaignId | ||
| 39 | baseAdGroupId | ||
| 40 | forwardCompatibilityMap | ||
| 41 | adStrengthInfo | ||
| 42 | |||
| 43 | ) ], | ||
| 44 | { | ||
| 45 | 'adGroupId' => \%adGroupId_of, | ||
| 46 | 'ad' => \%ad_of, | ||
| 47 | 'status' => \%status_of, | ||
| 48 | 'policySummary' => \%policySummary_of, | ||
| 49 | 'labels' => \%labels_of, | ||
| 50 | 'baseCampaignId' => \%baseCampaignId_of, | ||
| 51 | 'baseAdGroupId' => \%baseAdGroupId_of, | ||
| 52 | 'forwardCompatibilityMap' => \%forwardCompatibilityMap_of, | ||
| 53 | 'adStrengthInfo' => \%adStrengthInfo_of, | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | 'adGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 57 | 'ad' => 'Google::Ads::AdWords::v201809::Ad', | ||
| 58 | 'status' => 'Google::Ads::AdWords::v201809::AdGroupAd::Status', | ||
| 59 | 'policySummary' => 'Google::Ads::AdWords::v201809::AdGroupAdPolicySummary', | ||
| 60 | 'labels' => 'Google::Ads::AdWords::v201809::Label', | ||
| 61 | 'baseCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 62 | 'baseAdGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 63 | 'forwardCompatibilityMap' => 'Google::Ads::AdWords::v201809::String_StringMapEntry', | ||
| 64 | 'adStrengthInfo' => 'Google::Ads::AdWords::v201809::AdStrengthInfo', | ||
| 65 | }, | ||
| 66 | { | ||
| 67 | |||
| 68 | 'adGroupId' => 'adGroupId', | ||
| 69 | 'ad' => 'ad', | ||
| 70 | 'status' => 'status', | ||
| 71 | 'policySummary' => 'policySummary', | ||
| 72 | 'labels' => 'labels', | ||
| 73 | 'baseCampaignId' => 'baseCampaignId', | ||
| 74 | 'baseAdGroupId' => 'baseAdGroupId', | ||
| 75 | 'forwardCompatibilityMap' => 'forwardCompatibilityMap', | ||
| 76 | 'adStrengthInfo' => 'adStrengthInfo', | ||
| 77 | } | ||
| 78 | ); | ||
| 79 | |||
| 80 | } # end BLOCK | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | 1; | ||
| 89 | |||
| 90 | |||
| 91 | =pod | ||
| 92 | |||
| 93 | =head1 NAME | ||
| 94 | |||
| 95 | Google::Ads::AdWords::v201809::AdGroupAd | ||
| 96 | |||
| 97 | =head1 DESCRIPTION | ||
| 98 | |||
| 99 | Perl data type class for the XML Schema defined complexType | ||
| 100 | AdGroupAd from the namespace https://adwords.google.com/api/adwords/cm/v201809. | ||
| 101 | |||
| 102 | Represents an ad in an ad group. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head2 PROPERTIES | ||
| 108 | |||
| 109 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 110 | methods: | ||
| 111 | |||
| 112 | =over | ||
| 113 | |||
| 114 | =item * adGroupId | ||
| 115 | |||
| 116 | |||
| 117 | =item * ad | ||
| 118 | |||
| 119 | |||
| 120 | =item * status | ||
| 121 | |||
| 122 | |||
| 123 | =item * policySummary | ||
| 124 | |||
| 125 | |||
| 126 | =item * labels | ||
| 127 | |||
| 128 | |||
| 129 | =item * baseCampaignId | ||
| 130 | |||
| 131 | |||
| 132 | =item * baseAdGroupId | ||
| 133 | |||
| 134 | |||
| 135 | =item * forwardCompatibilityMap | ||
| 136 | |||
| 137 | |||
| 138 | =item * adStrengthInfo | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | |||
| 143 | =back | ||
| 144 | |||
| 145 | |||
| 146 | =head1 METHODS | ||
| 147 | |||
| 148 | =head2 new | ||
| 149 | |||
| 150 | Constructor. The following data structure may be passed to new(): | ||
| 151 | |||
| 152 | |||
| 153 | |||
| 154 | |||
| 155 | |||
| 156 | |||
| 157 | =head1 AUTHOR | ||
| 158 | |||
| 159 | Generated by SOAP::WSDL | ||
| 160 | |||
| 161 | =cut | ||
| 162 | |||