« blib/lib/Google/Ads/AdWords/v201309/TempAdUnionId.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201309/TemplateElement.pm »
| 1 | package Google::Ads::AdWords::v201309::TemplateAd; | ||
| 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::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 %templateId_of :ATTR(:get<templateId>); | ||
| 33 | my %adUnionId_of :ATTR(:get<adUnionId>); | ||
| 34 | my %templateElements_of :ATTR(:get<templateElements>); | ||
| 35 | my %dimensions_of :ATTR(:get<dimensions>); | ||
| 36 | my %name_of :ATTR(:get<name>); | ||
| 37 | my %duration_of :ATTR(:get<duration>); | ||
| 38 | my %originAdId_of :ATTR(:get<originAdId>); | ||
| 39 | |||
| 40 | __PACKAGE__->_factory( | ||
| 41 | [ qw( id | ||
| 42 | url | ||
| 43 | displayUrl | ||
| 44 | devicePreference | ||
| 45 | Ad__Type | ||
| 46 | templateId | ||
| 47 | adUnionId | ||
| 48 | templateElements | ||
| 49 | dimensions | ||
| 50 | name | ||
| 51 | duration | ||
| 52 | originAdId | ||
| 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 | 'templateId' => \%templateId_of, | ||
| 62 | 'adUnionId' => \%adUnionId_of, | ||
| 63 | 'templateElements' => \%templateElements_of, | ||
| 64 | 'dimensions' => \%dimensions_of, | ||
| 65 | 'name' => \%name_of, | ||
| 66 | 'duration' => \%duration_of, | ||
| 67 | 'originAdId' => \%originAdId_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 | 'templateId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 76 | 'adUnionId' => 'Google::Ads::AdWords::v201309::AdUnionId', | ||
| 77 | 'templateElements' => 'Google::Ads::AdWords::v201309::TemplateElement', | ||
| 78 | 'dimensions' => 'Google::Ads::AdWords::v201309::Dimensions', | ||
| 79 | 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 80 | 'duration' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 81 | 'originAdId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | |||
| 85 | 'id' => 'id', | ||
| 86 | 'url' => 'url', | ||
| 87 | 'displayUrl' => 'displayUrl', | ||
| 88 | 'devicePreference' => 'devicePreference', | ||
| 89 | 'Ad__Type' => 'Ad.Type', | ||
| 90 | 'templateId' => 'templateId', | ||
| 91 | 'adUnionId' => 'adUnionId', | ||
| 92 | 'templateElements' => 'templateElements', | ||
| 93 | 'dimensions' => 'dimensions', | ||
| 94 | 'name' => 'name', | ||
| 95 | 'duration' => 'duration', | ||
| 96 | 'originAdId' => 'originAdId', | ||
| 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::v201309::TemplateAd | ||
| 116 | |||
| 117 | =head1 DESCRIPTION | ||
| 118 | |||
| 119 | Perl data type class for the XML Schema defined complexType | ||
| 120 | TemplateAd from the namespace https://adwords.google.com/api/adwords/cm/v201309. | ||
| 121 | |||
| 122 | Represents a <a href= "//www.google.com/adwords/displaynetwork/plan-creative-campaigns/display-ad-builder.html" >Display Ad Builder</a> template ad. A template ad is composed of a template (specified by its ID) and the data that populates the template's fields. For a list of available templates and their required fields, see <a href="/adwords/api/docs/appendix/templateads">Template Ads</a>. <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 * templateId | ||
| 135 | |||
| 136 | |||
| 137 | =item * adUnionId | ||
| 138 | |||
| 139 | |||
| 140 | =item * templateElements | ||
| 141 | |||
| 142 | |||
| 143 | =item * dimensions | ||
| 144 | |||
| 145 | |||
| 146 | =item * name | ||
| 147 | |||
| 148 | |||
| 149 | =item * duration | ||
| 150 | |||
| 151 | |||
| 152 | =item * originAdId | ||
| 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 |