« lib/Google/Ads/AdWords/v201809/DraftReturnValue.pm
↑ Summary
lib/Google/Ads/AdWords/v201809/DynamicSearchAdsSetting.pm »
| 1 | package Google::Ads::AdWords::v201809::DynamicSearchAd; | ||
| 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/v201809' }; |
|
Subroutine
get_xmlns: not called CC=1 SCAR=6.9
| |||
| 9 | |||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||
| 12 | |||
| 13 | 0 | ▶ | sub __get_attr_class { |
|
Subroutine
__get_attr_class: not called CC=1 SCAR=6.9
| |||
| 14 | 0 | return $XML_ATTRIBUTE_CLASS; | |
| 15 | } | ||
| 16 | |||
| 17 | |||
| 18 | 1 | ▶ | use base qw(Google::Ads::AdWords::v201809::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 %finalUrlSuffix_of :ATTR(:get<finalUrlSuffix>); | ||
| 33 | my %urlCustomParameters_of :ATTR(:get<urlCustomParameters>); | ||
| 34 | my %urlData_of :ATTR(:get<urlData>); | ||
| 35 | my %automated_of :ATTR(:get<automated>); | ||
| 36 | my %type_of :ATTR(:get<type>); | ||
| 37 | my %devicePreference_of :ATTR(:get<devicePreference>); | ||
| 38 | my %systemManagedEntitySource_of :ATTR(:get<systemManagedEntitySource>); | ||
| 39 | my %Ad__Type_of :ATTR(:get<Ad__Type>); | ||
| 40 | my %description1_of :ATTR(:get<description1>); | ||
| 41 | my %description2_of :ATTR(:get<description2>); | ||
| 42 | |||
| 43 | __PACKAGE__->_factory( | ||
| 44 | [ qw( id | ||
| 45 | url | ||
| 46 | displayUrl | ||
| 47 | finalUrls | ||
| 48 | finalMobileUrls | ||
| 49 | finalAppUrls | ||
| 50 | trackingUrlTemplate | ||
| 51 | finalUrlSuffix | ||
| 52 | urlCustomParameters | ||
| 53 | urlData | ||
| 54 | automated | ||
| 55 | type | ||
| 56 | devicePreference | ||
| 57 | systemManagedEntitySource | ||
| 58 | Ad__Type | ||
| 59 | description1 | ||
| 60 | description2 | ||
| 61 | |||
| 62 | ) ], | ||
| 63 | { | ||
| 64 | 'id' => \%id_of, | ||
| 65 | 'url' => \%url_of, | ||
| 66 | 'displayUrl' => \%displayUrl_of, | ||
| 67 | 'finalUrls' => \%finalUrls_of, | ||
| 68 | 'finalMobileUrls' => \%finalMobileUrls_of, | ||
| 69 | 'finalAppUrls' => \%finalAppUrls_of, | ||
| 70 | 'trackingUrlTemplate' => \%trackingUrlTemplate_of, | ||
| 71 | 'finalUrlSuffix' => \%finalUrlSuffix_of, | ||
| 72 | 'urlCustomParameters' => \%urlCustomParameters_of, | ||
| 73 | 'urlData' => \%urlData_of, | ||
| 74 | 'automated' => \%automated_of, | ||
| 75 | 'type' => \%type_of, | ||
| 76 | 'devicePreference' => \%devicePreference_of, | ||
| 77 | 'systemManagedEntitySource' => \%systemManagedEntitySource_of, | ||
| 78 | 'Ad__Type' => \%Ad__Type_of, | ||
| 79 | 'description1' => \%description1_of, | ||
| 80 | 'description2' => \%description2_of, | ||
| 81 | }, | ||
| 82 | { | ||
| 83 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 84 | 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 85 | 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 86 | 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 87 | 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 88 | 'finalAppUrls' => 'Google::Ads::AdWords::v201809::AppUrl', | ||
| 89 | 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 90 | 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 91 | 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters', | ||
| 92 | 'urlData' => 'Google::Ads::AdWords::v201809::UrlData', | ||
| 93 | 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 94 | 'type' => 'Google::Ads::AdWords::v201809::Ad::Type', | ||
| 95 | 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 96 | 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource', | ||
| 97 | 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 98 | 'description1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 99 | 'description2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 100 | }, | ||
| 101 | { | ||
| 102 | |||
| 103 | 'id' => 'id', | ||
| 104 | 'url' => 'url', | ||
| 105 | 'displayUrl' => 'displayUrl', | ||
| 106 | 'finalUrls' => 'finalUrls', | ||
| 107 | 'finalMobileUrls' => 'finalMobileUrls', | ||
| 108 | 'finalAppUrls' => 'finalAppUrls', | ||
| 109 | 'trackingUrlTemplate' => 'trackingUrlTemplate', | ||
| 110 | 'finalUrlSuffix' => 'finalUrlSuffix', | ||
| 111 | 'urlCustomParameters' => 'urlCustomParameters', | ||
| 112 | 'urlData' => 'urlData', | ||
| 113 | 'automated' => 'automated', | ||
| 114 | 'type' => 'type', | ||
| 115 | 'devicePreference' => 'devicePreference', | ||
| 116 | 'systemManagedEntitySource' => 'systemManagedEntitySource', | ||
| 117 | 'Ad__Type' => 'Ad.Type', | ||
| 118 | 'description1' => 'description1', | ||
| 119 | 'description2' => 'description2', | ||
| 120 | } | ||
| 121 | ); | ||
| 122 | |||
| 123 | } # end BLOCK | ||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | 1; | ||
| 132 | |||
| 133 | |||
| 134 | =pod | ||
| 135 | |||
| 136 | =head1 NAME | ||
| 137 | |||
| 138 | Google::Ads::AdWords::v201809::DynamicSearchAd | ||
| 139 | |||
| 140 | =head1 DESCRIPTION | ||
| 141 | |||
| 142 | Perl data type class for the XML Schema defined complexType | ||
| 143 | DynamicSearchAd from the namespace https://adwords.google.com/api/adwords/cm/v201809. | ||
| 144 | |||
| 145 | Represents a dynamic search ad. This ad will have its headline and final URL auto-generated at serving time according to domain name specific information provided by DynamicSearchAdsSetting at the campaign level. <p>Auto-generated fields: headline and final URL.</p> <p>Note: we recommend using the ExpandedDynamicSearchAd type, introduced in v201705, rather than the DynamicSearchAd type.</p> <p><b>Required fields:</b> {@code description1}, {@code description2}, {@code displayUrl}.</p> <p>The tracking URL field must contain at least one of the following placeholder tags (URL parameters):</p> <ul> <li>{unescapedlpurl}</li> <li>{escapedlpurl}</li> <li>{lpurl}</li> <li>{lpurl+2}</li> <li>{lpurl+3}</li> </ul> <ul> <li>{unescapedlpurl} will be replaced with the full landing page URL of the displayed ad. Extra query parameters can be added to the end, e.g.: "{unescapedlpurl}?lang=en".</li> <li>{escapedlpurl} will be replaced with the URL-encoded version of the full landing page URL. This makes it suitable for use as a query parameter value (e.g.: "http://www.3rdpartytracker.com/?lp={escapedlpurl}") but not at the beginning of the URL field.</li> <li>{lpurl} encodes the "?" and "=" of the landing page URL making it suitable for use as a query parameter. If found at the beginning of the URL field, it is replaced by the {unescapedlpurl} value. E.g.: "http://tracking.com/redir.php?tracking=xyz&url={lpurl}".</li> <li>{lpurl+2} and {lpurl+3} will be replaced with the landing page URL escaped two or three times, respectively. This makes it suitable if there is a chain of redirects in the tracking URL.</li> </ul> <p class="note">Note that {@code finalUrls} and {@code finalMobileUrls} cannot be set for dynamic search ads.</p> <p>For more information, see the article <a href="//support.google.com/adwords/answer/2549100">Using dynamic tracking URLs</a>. </p> <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span> | ||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | =head2 PROPERTIES | ||
| 151 | |||
| 152 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 153 | methods: | ||
| 154 | |||
| 155 | =over | ||
| 156 | |||
| 157 | =item * description1 | ||
| 158 | |||
| 159 | |||
| 160 | =item * description2 | ||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | =back | ||
| 166 | |||
| 167 | |||
| 168 | =head1 METHODS | ||
| 169 | |||
| 170 | =head2 new | ||
| 171 | |||
| 172 | Constructor. The following data structure may be passed to new(): | ||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | |||
| 177 | |||
| 178 | |||
| 179 | =head1 AUTHOR | ||
| 180 | |||
| 181 | Generated by SOAP::WSDL | ||
| 182 | |||
| 183 | =cut | ||
| 184 | |||