« blib/lib/Google/Ads/AdWords/v201402/MinuteOfHour.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201402/MobileAppCategory.pm »
| 1 | package Google::Ads::AdWords::v201402::MobileAd; | ||
| 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/v201402' }; | ||
| 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::v201402::Ad); | ||
| 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 %url_of :ATTR(:get<url>); | ||
| 29 | my %displayUrl_of :ATTR(:get<displayUrl>); | ||
| 30 | my %devicePreference_of :ATTR(:get<devicePreference>); | ||
| 31 | my %Ad__Type_of :ATTR(:get<Ad__Type>); | ||
| 32 | my %headline_of :ATTR(:get<headline>); | ||
| 33 | my %description_of :ATTR(:get<description>); | ||
| 34 | my %markupLanguages_of :ATTR(:get<markupLanguages>); | ||
| 35 | my %mobileCarriers_of :ATTR(:get<mobileCarriers>); | ||
| 36 | my %businessName_of :ATTR(:get<businessName>); | ||
| 37 | my %countryCode_of :ATTR(:get<countryCode>); | ||
| 38 | my %phoneNumber_of :ATTR(:get<phoneNumber>); | ||
| 39 | |||
| 40 | __PACKAGE__->_factory( | ||
| 41 | [ qw( id | ||
| 42 | url | ||
| 43 | displayUrl | ||
| 44 | devicePreference | ||
| 45 | Ad__Type | ||
| 46 | headline | ||
| 47 | description | ||
| 48 | markupLanguages | ||
| 49 | mobileCarriers | ||
| 50 | businessName | ||
| 51 | countryCode | ||
| 52 | phoneNumber | ||
| 53 | |||
| 54 | ) ], | ||
| 55 | { | ||
| 56 | 'id' => \%id_of, | ||
| 57 | 'url' => \%url_of, | ||
| 58 | 'displayUrl' => \%displayUrl_of, | ||
| 59 | 'devicePreference' => \%devicePreference_of, | ||
| 60 | 'Ad__Type' => \%Ad__Type_of, | ||
| 61 | 'headline' => \%headline_of, | ||
| 62 | 'description' => \%description_of, | ||
| 63 | 'markupLanguages' => \%markupLanguages_of, | ||
| 64 | 'mobileCarriers' => \%mobileCarriers_of, | ||
| 65 | 'businessName' => \%businessName_of, | ||
| 66 | 'countryCode' => \%countryCode_of, | ||
| 67 | 'phoneNumber' => \%phoneNumber_of, | ||
| 68 | }, | ||
| 69 | { | ||
| 70 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 71 | 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 72 | 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 73 | 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 74 | 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 75 | 'headline' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 76 | 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 77 | 'markupLanguages' => 'Google::Ads::AdWords::v201402::MarkupLanguageType', | ||
| 78 | 'mobileCarriers' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 79 | 'businessName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 80 | 'countryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 81 | 'phoneNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | |||
| 85 | 'id' => 'id', | ||
| 86 | 'url' => 'url', | ||
| 87 | 'displayUrl' => 'displayUrl', | ||
| 88 | 'devicePreference' => 'devicePreference', | ||
| 89 | 'Ad__Type' => 'Ad.Type', | ||
| 90 | 'headline' => 'headline', | ||
| 91 | 'description' => 'description', | ||
| 92 | 'markupLanguages' => 'markupLanguages', | ||
| 93 | 'mobileCarriers' => 'mobileCarriers', | ||
| 94 | 'businessName' => 'businessName', | ||
| 95 | 'countryCode' => 'countryCode', | ||
| 96 | 'phoneNumber' => 'phoneNumber', | ||
| 97 | } | ||
| 98 | ); | ||
| 99 | |||
| 100 | } # end BLOCK | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | 1; | ||
| 109 | |||
| 110 | |||
| 111 | =pod | ||
| 112 | |||
| 113 | =head1 NAME | ||
| 114 | |||
| 115 | Google::Ads::AdWords::v201402::MobileAd | ||
| 116 | |||
| 117 | =head1 DESCRIPTION | ||
| 118 | |||
| 119 | Perl data type class for the XML Schema defined complexType | ||
| 120 | MobileAd from the namespace https://adwords.google.com/api/adwords/cm/v201402. | ||
| 121 | |||
| 122 | Represents a mobile ad. <p> A mobile ad can contain a click-to-call phone number, a link to a website, or both. You specify which features you want by setting certain fields, as shown in the following table. For example, to create a click-to-call mobile ad, set the fields in the <b>Click-to-call</b> column. A hyphen indicates that you should not set the corresponding field. </p> <p> For more information, see <a href="//support.google.com/adwords/bin/answer.py?answer=2472720"> Create a mobile ad</a>. </p> <table summary="" style="clear: none"> <tr> <th scope="col"> Click-to-call </th> <th scope="col"> Website </th> <th scope="col"> Both </th></tr> <tr> <td> headline <br /> description <br /> mobileCarriers <br /> phoneNumber <br /> countryCode <br /> businessName <br /> - <br /> - <br /> - <br /> </td> <td> headline <br /> description <br /> mobileCarriers <br /> - <br /> - <br /> - <br /> displayUrl <br /> destinationUrl <br /> markupLanguages <br /> </td> <td> headline <br /> description <br /> mobileCarriers <br /> phoneNumber <br /> countryCode <br /> businessName <br /> displayUrl <br /> destinationUrl <br /> markupLanguages <br /> </td></tr> </table> <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span> | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | =head2 PROPERTIES | ||
| 128 | |||
| 129 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 130 | methods: | ||
| 131 | |||
| 132 | =over | ||
| 133 | |||
| 134 | =item * headline | ||
| 135 | |||
| 136 | |||
| 137 | =item * description | ||
| 138 | |||
| 139 | |||
| 140 | =item * markupLanguages | ||
| 141 | |||
| 142 | |||
| 143 | =item * mobileCarriers | ||
| 144 | |||
| 145 | |||
| 146 | =item * businessName | ||
| 147 | |||
| 148 | |||
| 149 | =item * countryCode | ||
| 150 | |||
| 151 | |||
| 152 | =item * phoneNumber | ||
| 153 | |||
| 154 | |||
| 155 | |||
| 156 | |||
| 157 | =back | ||
| 158 | |||
| 159 | |||
| 160 | =head1 METHODS | ||
| 161 | |||
| 162 | =head2 new | ||
| 163 | |||
| 164 | Constructor. The following data structure may be passed to new(): | ||
| 165 | |||
| 166 | |||
| 167 | |||
| 168 | |||
| 169 | |||
| 170 | |||
| 171 | =head1 AUTHOR | ||
| 172 | |||
| 173 | Generated by SOAP::WSDL | ||
| 174 | |||
| 175 | =cut | ||
| 176 |