« blib/lib/Google/Ads/AdWords/v201309/MobileDevice/DeviceType.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201309/MobileImageAd.pm »
| 1 | package Google::Ads::AdWords::v201309::MobileExtension; | ||
| 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 %phoneNumber_of :ATTR(:get<phoneNumber>); | ||
| 30 | my %countryCode_of :ATTR(:get<countryCode>); | ||
| 31 | my %isCallTrackingEnabled_of :ATTR(:get<isCallTrackingEnabled>); | ||
| 32 | my %isCallOnly_of :ATTR(:get<isCallOnly>); | ||
| 33 | |||
| 34 | __PACKAGE__->_factory( | ||
| 35 | [ qw( id | ||
| 36 | AdExtension__Type | ||
| 37 | phoneNumber | ||
| 38 | countryCode | ||
| 39 | isCallTrackingEnabled | ||
| 40 | isCallOnly | ||
| 41 | |||
| 42 | ) ], | ||
| 43 | { | ||
| 44 | 'id' => \%id_of, | ||
| 45 | 'AdExtension__Type' => \%AdExtension__Type_of, | ||
| 46 | 'phoneNumber' => \%phoneNumber_of, | ||
| 47 | 'countryCode' => \%countryCode_of, | ||
| 48 | 'isCallTrackingEnabled' => \%isCallTrackingEnabled_of, | ||
| 49 | 'isCallOnly' => \%isCallOnly_of, | ||
| 50 | }, | ||
| 51 | { | ||
| 52 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 53 | 'AdExtension__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 54 | 'phoneNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 55 | 'countryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 56 | 'isCallTrackingEnabled' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 57 | 'isCallOnly' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | |||
| 61 | 'id' => 'id', | ||
| 62 | 'AdExtension__Type' => 'AdExtension.Type', | ||
| 63 | 'phoneNumber' => 'phoneNumber', | ||
| 64 | 'countryCode' => 'countryCode', | ||
| 65 | 'isCallTrackingEnabled' => 'isCallTrackingEnabled', | ||
| 66 | 'isCallOnly' => 'isCallOnly', | ||
| 67 | } | ||
| 68 | ); | ||
| 69 | |||
| 70 | } # end BLOCK | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | 1; | ||
| 79 | |||
| 80 | |||
| 81 | =pod | ||
| 82 | |||
| 83 | =head1 NAME | ||
| 84 | |||
| 85 | Google::Ads::AdWords::v201309::MobileExtension | ||
| 86 | |||
| 87 | =head1 DESCRIPTION | ||
| 88 | |||
| 89 | Perl data type class for the XML Schema defined complexType | ||
| 90 | MobileExtension from the namespace https://adwords.google.com/api/adwords/cm/v201309. | ||
| 91 | |||
| 92 | Represents a phone extension. <p>This type of ad extension attaches a phone number to a text ad, which lets customers call the advertiser directly from the ad. Phone extensions will appear as clickable phone numbers beneath the main text ad, and will be visible to high-end mobile device users who access google.com search, Voice search, Google Mobile App, or Google Maps for Mobile from their phone. </p> <p>Learn more about <a href="//support.google.com/adwords/bin/answer.py?answer=2453991"> phone extensions</a>. </p> | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 PROPERTIES | ||
| 98 | |||
| 99 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 100 | methods: | ||
| 101 | |||
| 102 | =over | ||
| 103 | |||
| 104 | =item * phoneNumber | ||
| 105 | |||
| 106 | |||
| 107 | =item * countryCode | ||
| 108 | |||
| 109 | |||
| 110 | =item * isCallTrackingEnabled | ||
| 111 | |||
| 112 | |||
| 113 | =item * isCallOnly | ||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | =back | ||
| 119 | |||
| 120 | |||
| 121 | =head1 METHODS | ||
| 122 | |||
| 123 | =head2 new | ||
| 124 | |||
| 125 | Constructor. The following data structure may be passed to new(): | ||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | =head1 AUTHOR | ||
| 133 | |||
| 134 | Generated by SOAP::WSDL | ||
| 135 | |||
| 136 | =cut | ||
| 137 |