« blib/lib/Google/Ads/AdWords/v201309/LocationCriterionServiceError/Reason.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201309/LocationExtension/Source.pm »
| 1 | package Google::Ads::AdWords::v201309::LocationExtension; | ||
| 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 | |||
| 18 | use base qw(Google::Ads::AdWords::v201309::AdExtension); | ||
| 19 | # Variety: sequence | ||
| 20 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 21 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||
| 22 | |||
| 23 | Class::Std::initialize(); | ||
| 24 | |||
| 25 | { # BLOCK to scope variables | ||
| 26 | |||
| 27 | my %id_of :ATTR(:get<id>); | ||
| 28 | my %AdExtension__Type_of :ATTR(:get<AdExtension__Type>); | ||
| 29 | my %address_of :ATTR(:get<address>); | ||
| 30 | my %geoPoint_of :ATTR(:get<geoPoint>); | ||
| 31 | my %encodedLocation_of :ATTR(:get<encodedLocation>); | ||
| 32 | my %companyName_of :ATTR(:get<companyName>); | ||
| 33 | my %phoneNumber_of :ATTR(:get<phoneNumber>); | ||
| 34 | my %source_of :ATTR(:get<source>); | ||
| 35 | my %iconMediaId_of :ATTR(:get<iconMediaId>); | ||
| 36 | my %imageMediaId_of :ATTR(:get<imageMediaId>); | ||
| 37 | |||
| 38 | __PACKAGE__->_factory( | ||
| 39 | [ qw( id | ||
| 40 | AdExtension__Type | ||
| 41 | address | ||
| 42 | geoPoint | ||
| 43 | encodedLocation | ||
| 44 | companyName | ||
| 45 | phoneNumber | ||
| 46 | source | ||
| 47 | iconMediaId | ||
| 48 | imageMediaId | ||
| 49 | |||
| 50 | ) ], | ||
| 51 | { | ||
| 52 | 'id' => \%id_of, | ||
| 53 | 'AdExtension__Type' => \%AdExtension__Type_of, | ||
| 54 | 'address' => \%address_of, | ||
| 55 | 'geoPoint' => \%geoPoint_of, | ||
| 56 | 'encodedLocation' => \%encodedLocation_of, | ||
| 57 | 'companyName' => \%companyName_of, | ||
| 58 | 'phoneNumber' => \%phoneNumber_of, | ||
| 59 | 'source' => \%source_of, | ||
| 60 | 'iconMediaId' => \%iconMediaId_of, | ||
| 61 | 'imageMediaId' => \%imageMediaId_of, | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 65 | 'AdExtension__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 66 | 'address' => 'Google::Ads::AdWords::v201309::Address', | ||
| 67 | 'geoPoint' => 'Google::Ads::AdWords::v201309::GeoPoint', | ||
| 68 | 'encodedLocation' => 'SOAP::WSDL::XSD::Typelib::Builtin::base64Binary', | ||
| 69 | 'companyName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 70 | 'phoneNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 71 | 'source' => 'Google::Ads::AdWords::v201309::LocationExtension::Source', | ||
| 72 | 'iconMediaId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 73 | 'imageMediaId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | |||
| 77 | 'id' => 'id', | ||
| 78 | 'AdExtension__Type' => 'AdExtension.Type', | ||
| 79 | 'address' => 'address', | ||
| 80 | 'geoPoint' => 'geoPoint', | ||
| 81 | 'encodedLocation' => 'encodedLocation', | ||
| 82 | 'companyName' => 'companyName', | ||
| 83 | 'phoneNumber' => 'phoneNumber', | ||
| 84 | 'source' => 'source', | ||
| 85 | 'iconMediaId' => 'iconMediaId', | ||
| 86 | 'imageMediaId' => 'imageMediaId', | ||
| 87 | } | ||
| 88 | ); | ||
| 89 | |||
| 90 | } # end BLOCK | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | 1; | ||
| 99 | |||
| 100 | |||
| 101 | =pod | ||
| 102 | |||
| 103 | =head1 NAME | ||
| 104 | |||
| 105 | Google::Ads::AdWords::v201309::LocationExtension | ||
| 106 | |||
| 107 | =head1 DESCRIPTION | ||
| 108 | |||
| 109 | Perl data type class for the XML Schema defined complexType | ||
| 110 | LocationExtension from the namespace https://adwords.google.com/api/adwords/cm/v201309. | ||
| 111 | |||
| 112 | Location based ad extension. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | =head2 PROPERTIES | ||
| 118 | |||
| 119 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 120 | methods: | ||
| 121 | |||
| 122 | =over | ||
| 123 | |||
| 124 | =item * address | ||
| 125 | |||
| 126 | |||
| 127 | =item * geoPoint | ||
| 128 | |||
| 129 | |||
| 130 | =item * encodedLocation | ||
| 131 | |||
| 132 | |||
| 133 | =item * companyName | ||
| 134 | |||
| 135 | |||
| 136 | =item * phoneNumber | ||
| 137 | |||
| 138 | |||
| 139 | =item * source | ||
| 140 | |||
| 141 | |||
| 142 | =item * iconMediaId | ||
| 143 | |||
| 144 | |||
| 145 | =item * imageMediaId | ||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | =back | ||
| 151 | |||
| 152 | |||
| 153 | =head1 METHODS | ||
| 154 | |||
| 155 | =head2 new | ||
| 156 | |||
| 157 | Constructor. The following data structure may be passed to new(): | ||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | =head1 AUTHOR | ||
| 165 | |||
| 166 | Generated by SOAP::WSDL | ||
| 167 | |||
| 168 | =cut | ||
| 169 |