« blib/lib/Google/Ads/AdWords/v201402/RequiredError/Reason.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201402/RichMediaAd/AdAttribute.pm »
| 1 | package Google::Ads::AdWords::v201402::RichMediaAd; | ||
| 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 %name_of :ATTR(:get<name>); | ||
| 33 | my %dimensions_of :ATTR(:get<dimensions>); | ||
| 34 | my %snippet_of :ATTR(:get<snippet>); | ||
| 35 | my %impressionBeaconUrl_of :ATTR(:get<impressionBeaconUrl>); | ||
| 36 | my %adDuration_of :ATTR(:get<adDuration>); | ||
| 37 | my %certifiedVendorFormatId_of :ATTR(:get<certifiedVendorFormatId>); | ||
| 38 | my %sourceUrl_of :ATTR(:get<sourceUrl>); | ||
| 39 | my %richMediaAdType_of :ATTR(:get<richMediaAdType>); | ||
| 40 | my %adAttributes_of :ATTR(:get<adAttributes>); | ||
| 41 | |||
| 42 | __PACKAGE__->_factory( | ||
| 43 | [ qw( id | ||
| 44 | url | ||
| 45 | displayUrl | ||
| 46 | devicePreference | ||
| 47 | Ad__Type | ||
| 48 | name | ||
| 49 | dimensions | ||
| 50 | snippet | ||
| 51 | impressionBeaconUrl | ||
| 52 | adDuration | ||
| 53 | certifiedVendorFormatId | ||
| 54 | sourceUrl | ||
| 55 | richMediaAdType | ||
| 56 | adAttributes | ||
| 57 | |||
| 58 | ) ], | ||
| 59 | { | ||
| 60 | 'id' => \%id_of, | ||
| 61 | 'url' => \%url_of, | ||
| 62 | 'displayUrl' => \%displayUrl_of, | ||
| 63 | 'devicePreference' => \%devicePreference_of, | ||
| 64 | 'Ad__Type' => \%Ad__Type_of, | ||
| 65 | 'name' => \%name_of, | ||
| 66 | 'dimensions' => \%dimensions_of, | ||
| 67 | 'snippet' => \%snippet_of, | ||
| 68 | 'impressionBeaconUrl' => \%impressionBeaconUrl_of, | ||
| 69 | 'adDuration' => \%adDuration_of, | ||
| 70 | 'certifiedVendorFormatId' => \%certifiedVendorFormatId_of, | ||
| 71 | 'sourceUrl' => \%sourceUrl_of, | ||
| 72 | 'richMediaAdType' => \%richMediaAdType_of, | ||
| 73 | 'adAttributes' => \%adAttributes_of, | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 77 | 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 78 | 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 79 | 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 80 | 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 81 | 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 82 | 'dimensions' => 'Google::Ads::AdWords::v201402::Dimensions', | ||
| 83 | 'snippet' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 84 | 'impressionBeaconUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 85 | 'adDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 86 | 'certifiedVendorFormatId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 87 | 'sourceUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 88 | 'richMediaAdType' => 'Google::Ads::AdWords::v201402::RichMediaAd::RichMediaAdType', | ||
| 89 | 'adAttributes' => 'Google::Ads::AdWords::v201402::RichMediaAd::AdAttribute', | ||
| 90 | }, | ||
| 91 | { | ||
| 92 | |||
| 93 | 'id' => 'id', | ||
| 94 | 'url' => 'url', | ||
| 95 | 'displayUrl' => 'displayUrl', | ||
| 96 | 'devicePreference' => 'devicePreference', | ||
| 97 | 'Ad__Type' => 'Ad.Type', | ||
| 98 | 'name' => 'name', | ||
| 99 | 'dimensions' => 'dimensions', | ||
| 100 | 'snippet' => 'snippet', | ||
| 101 | 'impressionBeaconUrl' => 'impressionBeaconUrl', | ||
| 102 | 'adDuration' => 'adDuration', | ||
| 103 | 'certifiedVendorFormatId' => 'certifiedVendorFormatId', | ||
| 104 | 'sourceUrl' => 'sourceUrl', | ||
| 105 | 'richMediaAdType' => 'richMediaAdType', | ||
| 106 | 'adAttributes' => 'adAttributes', | ||
| 107 | } | ||
| 108 | ); | ||
| 109 | |||
| 110 | } # end BLOCK | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | 1; | ||
| 119 | |||
| 120 | |||
| 121 | =pod | ||
| 122 | |||
| 123 | =head1 NAME | ||
| 124 | |||
| 125 | Google::Ads::AdWords::v201402::RichMediaAd | ||
| 126 | |||
| 127 | =head1 DESCRIPTION | ||
| 128 | |||
| 129 | Perl data type class for the XML Schema defined complexType | ||
| 130 | RichMediaAd from the namespace https://adwords.google.com/api/adwords/cm/v201402. | ||
| 131 | |||
| 132 | Data associated with a rich media ad. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span> | ||
| 133 | |||
| 134 | |||
| 135 | |||
| 136 | |||
| 137 | =head2 PROPERTIES | ||
| 138 | |||
| 139 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 140 | methods: | ||
| 141 | |||
| 142 | =over | ||
| 143 | |||
| 144 | =item * name | ||
| 145 | |||
| 146 | |||
| 147 | =item * dimensions | ||
| 148 | |||
| 149 | |||
| 150 | =item * snippet | ||
| 151 | |||
| 152 | |||
| 153 | =item * impressionBeaconUrl | ||
| 154 | |||
| 155 | |||
| 156 | =item * adDuration | ||
| 157 | |||
| 158 | |||
| 159 | =item * certifiedVendorFormatId | ||
| 160 | |||
| 161 | |||
| 162 | =item * sourceUrl | ||
| 163 | |||
| 164 | |||
| 165 | =item * richMediaAdType | ||
| 166 | |||
| 167 | |||
| 168 | =item * adAttributes | ||
| 169 | |||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | =back | ||
| 174 | |||
| 175 | |||
| 176 | =head1 METHODS | ||
| 177 | |||
| 178 | =head2 new | ||
| 179 | |||
| 180 | Constructor. The following data structure may be passed to new(): | ||
| 181 | |||
| 182 | |||
| 183 | |||
| 184 | |||
| 185 | |||
| 186 | |||
| 187 | =head1 AUTHOR | ||
| 188 | |||
| 189 | Generated by SOAP::WSDL | ||
| 190 | |||
| 191 | =cut | ||
| 192 |