package Google::Ads::AdWords::v201309::Ad; use strict; use warnings; __PACKAGE__->_set_element_form_qualified(1); sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201309' }; 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); Class::Std::initialize(); { # BLOCK to scope variables my %id_of :ATTR(:get); my %url_of :ATTR(:get); my %displayUrl_of :ATTR(:get); my %devicePreference_of :ATTR(:get); my %Ad__Type_of :ATTR(:get); __PACKAGE__->_factory( [ qw( id url displayUrl devicePreference Ad__Type ) ], { 'id' => \%id_of, 'url' => \%url_of, 'displayUrl' => \%displayUrl_of, 'devicePreference' => \%devicePreference_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', 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', }, { 'id' => 'id', 'url' => 'url', 'displayUrl' => 'displayUrl', 'devicePreference' => 'devicePreference', 'Ad__Type' => 'Ad.Type', } ); } # end BLOCK 1; =pod =head1 NAME Google::Ads::AdWords::v201309::Ad =head1 DESCRIPTION Perl data type class for the XML Schema defined complexType Ad from the namespace https://adwords.google.com/api/adwords/cm/v201309. The base class of all ad types. To update basic ad fields, you can construct an {@code Ad} object (instead of the ad's concrete type) with the appropriate fields 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 * devicePreference =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