package Google::Ads::AdWords::v201809::Ad; use strict; use warnings; __PACKAGE__->_set_element_form_qualified(1); sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }; our $XML_ATTRIBUTE_CLASS; undef $XML_ATTRIBUTE_CLASS; sub __get_attr_class { return $XML_ATTRIBUTE_CLASS; } use Class::Std::Fast::Storable constructor => 'none'; use base qw(Google::Ads::SOAP::Typelib::ComplexType); { # BLOCK to scope variables my %id_of :ATTR(:get); my %url_of :ATTR(:get); my %displayUrl_of :ATTR(:get); my %finalUrls_of :ATTR(:get); my %finalMobileUrls_of :ATTR(:get); my %finalAppUrls_of :ATTR(:get); my %trackingUrlTemplate_of :ATTR(:get); my %finalUrlSuffix_of :ATTR(:get); my %urlCustomParameters_of :ATTR(:get); my %urlData_of :ATTR(:get); my %automated_of :ATTR(:get); my %type_of :ATTR(:get); my %devicePreference_of :ATTR(:get); my %systemManagedEntitySource_of :ATTR(:get); my %Ad__Type_of :ATTR(:get); __PACKAGE__->_factory( [ qw( id url displayUrl finalUrls finalMobileUrls finalAppUrls trackingUrlTemplate finalUrlSuffix urlCustomParameters urlData automated type devicePreference systemManagedEntitySource Ad__Type ) ], { 'id' => \%id_of, 'url' => \%url_of, 'displayUrl' => \%displayUrl_of, 'finalUrls' => \%finalUrls_of, 'finalMobileUrls' => \%finalMobileUrls_of, 'finalAppUrls' => \%finalAppUrls_of, 'trackingUrlTemplate' => \%trackingUrlTemplate_of, 'finalUrlSuffix' => \%finalUrlSuffix_of, 'urlCustomParameters' => \%urlCustomParameters_of, 'urlData' => \%urlData_of, 'automated' => \%automated_of, 'type' => \%type_of, 'devicePreference' => \%devicePreference_of, 'systemManagedEntitySource' => \%systemManagedEntitySource_of, 'Ad__Type' => \%Ad__Type_of, }, { 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', 'finalAppUrls' => 'Google::Ads::AdWords::v201809::AppUrl', 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters', 'urlData' => 'Google::Ads::AdWords::v201809::UrlData', 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', 'type' => 'Google::Ads::AdWords::v201809::Ad::Type', 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource', 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', }, { 'id' => 'id', 'url' => 'url', 'displayUrl' => 'displayUrl', 'finalUrls' => 'finalUrls', 'finalMobileUrls' => 'finalMobileUrls', 'finalAppUrls' => 'finalAppUrls', 'trackingUrlTemplate' => 'trackingUrlTemplate', 'finalUrlSuffix' => 'finalUrlSuffix', 'urlCustomParameters' => 'urlCustomParameters', 'urlData' => 'urlData', 'automated' => 'automated', 'type' => 'type', 'devicePreference' => 'devicePreference', 'systemManagedEntitySource' => 'systemManagedEntitySource', 'Ad__Type' => 'Ad.Type', } ); } # end BLOCK 1; =pod =head1 NAME Google::Ads::AdWords::v201809::Ad =head1 DESCRIPTION Perl data type class for the XML Schema defined complexType Ad from the namespace https://adwords.google.com/api/adwords/cm/v201809. The base class of all ad types. {@code Ad}s are created using the {@code AdGroupAdService}. Some ad types such as {@code ExpandedTextAd}s may be modified using the {@code AdService}.

When calling {@code AdGroupAdService} to update the {@code status} of an {@code AdGroupAd}, you can construct an {@code Ad} object (instead of the {@code Ad}'s concrete type) with the {@link #id} field set. This is enabled for AdX. =head2 PROPERTIES The following properties may be accessed using get_PROPERTY / set_PROPERTY methods: =over =item * id =item * url =item * displayUrl =item * finalUrls =item * finalMobileUrls =item * finalAppUrls =item * trackingUrlTemplate =item * finalUrlSuffix =item * urlCustomParameters =item * urlData =item * automated =item * type =item * devicePreference =item * systemManagedEntitySource =item * Ad__Type Note: The name of this property has been altered, because it didn't match perl's notion of variable/subroutine names. The altered name is used in perl code only, XML output uses the original name: Ad.Type =back =head1 METHODS =head2 new Constructor. The following data structure may be passed to new(): =head1 AUTHOR Generated by SOAP::WSDL =cut