« blib/lib/Google/Ads/AdWords/v201402/AccountUserListStatus.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201402/AdCallMetricsConversion.pm »
| 1 | package Google::Ads::AdWords::v201402::Ad; | ||
| 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 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 18 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||
| 19 | |||
| 20 | Class::Std::initialize(); | ||
| 21 | |||
| 22 | { # BLOCK to scope variables | ||
| 23 | |||
| 24 | my %id_of :ATTR(:get<id>); | ||
| 25 | my %url_of :ATTR(:get<url>); | ||
| 26 | my %displayUrl_of :ATTR(:get<displayUrl>); | ||
| 27 | my %devicePreference_of :ATTR(:get<devicePreference>); | ||
| 28 | my %Ad__Type_of :ATTR(:get<Ad__Type>); | ||
| 29 | |||
| 30 | __PACKAGE__->_factory( | ||
| 31 | [ qw( id | ||
| 32 | url | ||
| 33 | displayUrl | ||
| 34 | devicePreference | ||
| 35 | Ad__Type | ||
| 36 | |||
| 37 | ) ], | ||
| 38 | { | ||
| 39 | 'id' => \%id_of, | ||
| 40 | 'url' => \%url_of, | ||
| 41 | 'displayUrl' => \%displayUrl_of, | ||
| 42 | 'devicePreference' => \%devicePreference_of, | ||
| 43 | 'Ad__Type' => \%Ad__Type_of, | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 47 | 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 48 | 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 49 | 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 50 | 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 51 | }, | ||
| 52 | { | ||
| 53 | |||
| 54 | 'id' => 'id', | ||
| 55 | 'url' => 'url', | ||
| 56 | 'displayUrl' => 'displayUrl', | ||
| 57 | 'devicePreference' => 'devicePreference', | ||
| 58 | 'Ad__Type' => 'Ad.Type', | ||
| 59 | } | ||
| 60 | ); | ||
| 61 | |||
| 62 | } # end BLOCK | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | 1; | ||
| 71 | |||
| 72 | |||
| 73 | =pod | ||
| 74 | |||
| 75 | =head1 NAME | ||
| 76 | |||
| 77 | Google::Ads::AdWords::v201402::Ad | ||
| 78 | |||
| 79 | =head1 DESCRIPTION | ||
| 80 | |||
| 81 | Perl data type class for the XML Schema defined complexType | ||
| 82 | Ad from the namespace https://adwords.google.com/api/adwords/cm/v201402. | ||
| 83 | |||
| 84 | The base class of all ad types. To update basic ad fields, you can construct an {@code Ad} object (instead of the ad's concrete type) with the appropriate fields set. <span class="constraint AdxEnabled">This is enabled for AdX.</span> | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 PROPERTIES | ||
| 90 | |||
| 91 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 92 | methods: | ||
| 93 | |||
| 94 | =over | ||
| 95 | |||
| 96 | =item * id | ||
| 97 | |||
| 98 | |||
| 99 | =item * url | ||
| 100 | |||
| 101 | |||
| 102 | =item * displayUrl | ||
| 103 | |||
| 104 | |||
| 105 | =item * devicePreference | ||
| 106 | |||
| 107 | |||
| 108 | =item * Ad__Type | ||
| 109 | |||
| 110 | Note: The name of this property has been altered, because it didn't match | ||
| 111 | perl's notion of variable/subroutine names. The altered name is used in | ||
| 112 | perl code only, XML output uses the original name: | ||
| 113 | |||
| 114 | Ad.Type | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =back | ||
| 120 | |||
| 121 | |||
| 122 | =head1 METHODS | ||
| 123 | |||
| 124 | =head2 new | ||
| 125 | |||
| 126 | Constructor. The following data structure may be passed to new(): | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | |||
| 133 | =head1 AUTHOR | ||
| 134 | |||
| 135 | Generated by SOAP::WSDL | ||
| 136 | |||
| 137 | =cut | ||
| 138 |