| 1 | package Google::Ads::AdWords::v201710::ImageAd; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | |||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 7 | |||
| 8 | 0 | ▶ | sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' }; |
|
Subroutine
get_xmlns: not called CC=1 SCAR=6.9
| |||
| 9 | |||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||
| 12 | |||
| 13 | sub __get_attr_class { | ||
| 14 | 0 | ▶ | return $XML_ATTRIBUTE_CLASS; |
|
Subroutine
__get_attr_class: not called CC=1 SCAR=6.9
| |||
| 15 | } | ||
| 16 | |||
| 17 | |||
| 18 | 1 | ▶ | use base qw(Google::Ads::AdWords::v201710::Ad); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | # Variety: sequence | ||
| 20 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 21 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||
| 22 | |||
| 23 | { # BLOCK to scope variables | ||
| 24 | |||
| 25 | my %id_of :ATTR(:get<id>); | ||
| 26 | my %url_of :ATTR(:get<url>); | ||
| 27 | my %displayUrl_of :ATTR(:get<displayUrl>); | ||
| 28 | my %finalUrls_of :ATTR(:get<finalUrls>); | ||
| 29 | my %finalMobileUrls_of :ATTR(:get<finalMobileUrls>); | ||
| 30 | my %finalAppUrls_of :ATTR(:get<finalAppUrls>); | ||
| 31 | my %trackingUrlTemplate_of :ATTR(:get<trackingUrlTemplate>); | ||
| 32 | my %urlCustomParameters_of :ATTR(:get<urlCustomParameters>); | ||
| 33 | my %urlData_of :ATTR(:get<urlData>); | ||
| 34 | my %automated_of :ATTR(:get<automated>); | ||
| 35 | my %type_of :ATTR(:get<type>); | ||
| 36 | my %devicePreference_of :ATTR(:get<devicePreference>); | ||
| 37 | my %Ad__Type_of :ATTR(:get<Ad__Type>); | ||
| 38 | my %image_of :ATTR(:get<image>); | ||
| 39 | my %name_of :ATTR(:get<name>); | ||
| 40 | my %adToCopyImageFrom_of :ATTR(:get<adToCopyImageFrom>); | ||
| 41 | |||
| 42 | __PACKAGE__->_factory( | ||
| 43 | [ qw( id | ||
| 44 | url | ||
| 45 | displayUrl | ||
| 46 | finalUrls | ||
| 47 | finalMobileUrls | ||
| 48 | finalAppUrls | ||
| 49 | trackingUrlTemplate | ||
| 50 | urlCustomParameters | ||
| 51 | urlData | ||
| 52 | automated | ||
| 53 | type | ||
| 54 | devicePreference | ||
| 55 | Ad__Type | ||
| 56 | image | ||
| 57 | name | ||
| 58 | adToCopyImageFrom | ||
| 59 | |||
| 60 | ) ], | ||
| 61 | { | ||
| 62 | 'id' => \%id_of, | ||
| 63 | 'url' => \%url_of, | ||
| 64 | 'displayUrl' => \%displayUrl_of, | ||
| 65 | 'finalUrls' => \%finalUrls_of, | ||
| 66 | 'finalMobileUrls' => \%finalMobileUrls_of, | ||
| 67 | 'finalAppUrls' => \%finalAppUrls_of, | ||
| 68 | 'trackingUrlTemplate' => \%trackingUrlTemplate_of, | ||
| 69 | 'urlCustomParameters' => \%urlCustomParameters_of, | ||
| 70 | 'urlData' => \%urlData_of, | ||
| 71 | 'automated' => \%automated_of, | ||
| 72 | 'type' => \%type_of, | ||
| 73 | 'devicePreference' => \%devicePreference_of, | ||
| 74 | 'Ad__Type' => \%Ad__Type_of, | ||
| 75 | 'image' => \%image_of, | ||
| 76 | 'name' => \%name_of, | ||
| 77 | 'adToCopyImageFrom' => \%adToCopyImageFrom_of, | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 81 | 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 82 | 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 83 | 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 84 | 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 85 | 'finalAppUrls' => 'Google::Ads::AdWords::v201710::AppUrl', | ||
| 86 | 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 87 | 'urlCustomParameters' => 'Google::Ads::AdWords::v201710::CustomParameters', | ||
| 88 | 'urlData' => 'Google::Ads::AdWords::v201710::UrlData', | ||
| 89 | 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 90 | 'type' => 'Google::Ads::AdWords::v201710::Ad::Type', | ||
| 91 | 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 92 | 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 93 | 'image' => 'Google::Ads::AdWords::v201710::Image', | ||
| 94 | 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 95 | 'adToCopyImageFrom' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 96 | }, | ||
| 97 | { | ||
| 98 | |||
| 99 | 'id' => 'id', | ||
| 100 | 'url' => 'url', | ||
| 101 | 'displayUrl' => 'displayUrl', | ||
| 102 | 'finalUrls' => 'finalUrls', | ||
| 103 | 'finalMobileUrls' => 'finalMobileUrls', | ||
| 104 | 'finalAppUrls' => 'finalAppUrls', | ||
| 105 | 'trackingUrlTemplate' => 'trackingUrlTemplate', | ||
| 106 | 'urlCustomParameters' => 'urlCustomParameters', | ||
| 107 | 'urlData' => 'urlData', | ||
| 108 | 'automated' => 'automated', | ||
| 109 | 'type' => 'type', | ||
| 110 | 'devicePreference' => 'devicePreference', | ||
| 111 | 'Ad__Type' => 'Ad.Type', | ||
| 112 | 'image' => 'image', | ||
| 113 | 'name' => 'name', | ||
| 114 | 'adToCopyImageFrom' => 'adToCopyImageFrom', | ||
| 115 | } | ||
| 116 | ); | ||
| 117 | |||
| 118 | } # end BLOCK | ||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | 1; | ||
| 127 | |||
| 128 | |||
| 129 | =pod | ||
| 130 | |||
| 131 | =head1 NAME | ||
| 132 | |||
| 133 | Google::Ads::AdWords::v201710::ImageAd | ||
| 134 | |||
| 135 | =head1 DESCRIPTION | ||
| 136 | |||
| 137 | Perl data type class for the XML Schema defined complexType | ||
| 138 | ImageAd from the namespace https://adwords.google.com/api/adwords/cm/v201710. | ||
| 139 | |||
| 140 | Represents an ImageAd. <span class="constraint AdxEnabled">This is enabled for AdX.</span> | ||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | =head2 PROPERTIES | ||
| 146 | |||
| 147 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 148 | methods: | ||
| 149 | |||
| 150 | =over | ||
| 151 | |||
| 152 | =item * image | ||
| 153 | |||
| 154 | |||
| 155 | =item * name | ||
| 156 | |||
| 157 | |||
| 158 | =item * adToCopyImageFrom | ||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | =back | ||
| 164 | |||
| 165 | |||
| 166 | =head1 METHODS | ||
| 167 | |||
| 168 | =head2 new | ||
| 169 | |||
| 170 | Constructor. The following data structure may be passed to new(): | ||
| 171 | |||
| 172 | |||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | |||
| 177 | =head1 AUTHOR | ||
| 178 | |||
| 179 | Generated by SOAP::WSDL | ||
| 180 | |||
| 181 | =cut | ||
| 182 | |||