| lib/Google/Ads/AdWords/v201710/ExpandedDynamicSearchAd.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 9 | 11 | 81.8 | 
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 5 | 60.0 | 
| pod | n/a | ||
| total | 12 | 16 | 75.0 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | package Google::Ads::AdWords::v201710::ExpandedDynamicSearchAd; | ||||||
| 2 | 1 | 1 | 2104 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 24 | ||||||
| 3 | 1 | 1 | 4 | use warnings; | |||
| 1 | 2 | ||||||
| 1 | 76 | ||||||
| 4 | |||||||
| 5 | |||||||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||||||
| 7 | |||||||
| 8 | 0 | 0 | sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' }; | ||||
| 9 | |||||||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||||||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||||||
| 12 | |||||||
| 13 | sub __get_attr_class { | ||||||
| 14 | 0 | 0 | return $XML_ATTRIBUTE_CLASS; | ||||
| 15 | } | ||||||
| 16 | |||||||
| 17 | |||||||
| 18 | 1 | 1 | 5 | use base qw(Google::Ads::AdWords::v201710::Ad); | |||
| 1 | 2 | ||||||
| 1 | 100 | ||||||
| 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 | ||||||
| 26 | my %url_of :ATTR(:get | ||||||
| 27 | my %displayUrl_of :ATTR(:get | ||||||
| 28 | my %finalUrls_of :ATTR(:get | ||||||
| 29 | my %finalMobileUrls_of :ATTR(:get | ||||||
| 30 | my %finalAppUrls_of :ATTR(:get | ||||||
| 31 | my %trackingUrlTemplate_of :ATTR(:get | ||||||
| 32 | my %urlCustomParameters_of :ATTR(:get | ||||||
| 33 | my %urlData_of :ATTR(:get | ||||||
| 34 | my %automated_of :ATTR(:get | ||||||
| 35 | my %type_of :ATTR(:get | ||||||
| 36 | my %devicePreference_of :ATTR(:get | ||||||
| 37 | my %Ad__Type_of :ATTR(:get | ||||||
| 38 | my %description_of :ATTR(:get | ||||||
| 39 | |||||||
| 40 | __PACKAGE__->_factory( | ||||||
| 41 | [ qw( id | ||||||
| 42 | url | ||||||
| 43 | displayUrl | ||||||
| 44 | finalUrls | ||||||
| 45 | finalMobileUrls | ||||||
| 46 | finalAppUrls | ||||||
| 47 | trackingUrlTemplate | ||||||
| 48 | urlCustomParameters | ||||||
| 49 | urlData | ||||||
| 50 | automated | ||||||
| 51 | type | ||||||
| 52 | devicePreference | ||||||
| 53 | Ad__Type | ||||||
| 54 | description | ||||||
| 55 | |||||||
| 56 | ) ], | ||||||
| 57 | { | ||||||
| 58 | 'id' => \%id_of, | ||||||
| 59 | 'url' => \%url_of, | ||||||
| 60 | 'displayUrl' => \%displayUrl_of, | ||||||
| 61 | 'finalUrls' => \%finalUrls_of, | ||||||
| 62 | 'finalMobileUrls' => \%finalMobileUrls_of, | ||||||
| 63 | 'finalAppUrls' => \%finalAppUrls_of, | ||||||
| 64 | 'trackingUrlTemplate' => \%trackingUrlTemplate_of, | ||||||
| 65 | 'urlCustomParameters' => \%urlCustomParameters_of, | ||||||
| 66 | 'urlData' => \%urlData_of, | ||||||
| 67 | 'automated' => \%automated_of, | ||||||
| 68 | 'type' => \%type_of, | ||||||
| 69 | 'devicePreference' => \%devicePreference_of, | ||||||
| 70 | 'Ad__Type' => \%Ad__Type_of, | ||||||
| 71 | 'description' => \%description_of, | ||||||
| 72 | }, | ||||||
| 73 | { | ||||||
| 74 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||||||
| 75 | 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 76 | 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 77 | 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 78 | 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 79 | 'finalAppUrls' => 'Google::Ads::AdWords::v201710::AppUrl', | ||||||
| 80 | 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 81 | 'urlCustomParameters' => 'Google::Ads::AdWords::v201710::CustomParameters', | ||||||
| 82 | 'urlData' => 'Google::Ads::AdWords::v201710::UrlData', | ||||||
| 83 | 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||||||
| 84 | 'type' => 'Google::Ads::AdWords::v201710::Ad::Type', | ||||||
| 85 | 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||||||
| 86 | 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 87 | 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 88 | }, | ||||||
| 89 | { | ||||||
| 90 | |||||||
| 91 | 'id' => 'id', | ||||||
| 92 | 'url' => 'url', | ||||||
| 93 | 'displayUrl' => 'displayUrl', | ||||||
| 94 | 'finalUrls' => 'finalUrls', | ||||||
| 95 | 'finalMobileUrls' => 'finalMobileUrls', | ||||||
| 96 | 'finalAppUrls' => 'finalAppUrls', | ||||||
| 97 | 'trackingUrlTemplate' => 'trackingUrlTemplate', | ||||||
| 98 | 'urlCustomParameters' => 'urlCustomParameters', | ||||||
| 99 | 'urlData' => 'urlData', | ||||||
| 100 | 'automated' => 'automated', | ||||||
| 101 | 'type' => 'type', | ||||||
| 102 | 'devicePreference' => 'devicePreference', | ||||||
| 103 | 'Ad__Type' => 'Ad.Type', | ||||||
| 104 | 'description' => 'description', | ||||||
| 105 | } | ||||||
| 106 | ); | ||||||
| 107 | |||||||
| 108 | } # end BLOCK | ||||||
| 109 | |||||||
| 110 | |||||||
| 111 | |||||||
| 112 | |||||||
| 113 | |||||||
| 114 | |||||||
| 115 | |||||||
| 116 | 1; | ||||||
| 117 | |||||||
| 118 | |||||||
| 119 | =pod | ||||||
| 120 | |||||||
| 121 | =head1 NAME | ||||||
| 122 | |||||||
| 123 | Google::Ads::AdWords::v201710::ExpandedDynamicSearchAd | ||||||
| 124 | |||||||
| 125 | =head1 DESCRIPTION | ||||||
| 126 | |||||||
| 127 | Perl data type class for the XML Schema defined complexType | ||||||
| 128 | ExpandedDynamicSearchAd from the namespace https://adwords.google.com/api/adwords/cm/v201710. | ||||||
| 129 | |||||||
| 130 | Represents an ExpandedDynamicSearchAd. This ad will have its headline, final URLs and display URL auto-generated at serving time according to domain name specific information provided by DynamicSearchAdsSetting linked at the campaign level. Auto-generated fields: headline, final URLs and display URL. Required fields: {@code description}. The tracking URL field must contain at least one of the following placeholder tags (URL parameters): 
 
 | ||||||
| 131 | |||||||
| 132 | |||||||
| 133 | |||||||
| 134 | |||||||
| 135 | =head2 PROPERTIES | ||||||
| 136 | |||||||
| 137 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||||||
| 138 | methods: | ||||||
| 139 | |||||||
| 140 | =over | ||||||
| 141 | |||||||
| 142 | =item * description | ||||||
| 143 | |||||||
| 144 | |||||||
| 145 | |||||||
| 146 | |||||||
| 147 | =back | ||||||
| 148 | |||||||
| 149 | |||||||
| 150 | =head1 METHODS | ||||||
| 151 | |||||||
| 152 | =head2 new | ||||||
| 153 | |||||||
| 154 | Constructor. The following data structure may be passed to new(): | ||||||
| 155 | |||||||
| 156 | |||||||
| 157 | |||||||
| 158 | |||||||
| 159 | |||||||
| 160 | |||||||
| 161 | =head1 AUTHOR | ||||||
| 162 | |||||||
| 163 | Generated by SOAP::WSDL | ||||||
| 164 | |||||||
| 165 | =cut | ||||||
| 166 |