« lib/Google/Ads/AdWords/v201809/GeoTargetOperand.pm
↑ Summary
lib/Google/Ads/AdWords/v201809/GmailAd.pm »
| 1 | package Google::Ads::AdWords::v201809::GeoTargetTypeSetting; | ||
| 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::Setting); |
|
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 %Setting__Type_of :ATTR(:get<Setting__Type>); | ||
| 26 | my %positiveGeoTargetType_of :ATTR(:get<positiveGeoTargetType>); | ||
| 27 | my %negativeGeoTargetType_of :ATTR(:get<negativeGeoTargetType>); | ||
| 28 | |||
| 29 | __PACKAGE__->_factory( | ||
| 30 | [ qw( Setting__Type | ||
| 31 | positiveGeoTargetType | ||
| 32 | negativeGeoTargetType | ||
| 33 | |||
| 34 | ) ], | ||
| 35 | { | ||
| 36 | 'Setting__Type' => \%Setting__Type_of, | ||
| 37 | 'positiveGeoTargetType' => \%positiveGeoTargetType_of, | ||
| 38 | 'negativeGeoTargetType' => \%negativeGeoTargetType_of, | ||
| 39 | }, | ||
| 40 | { | ||
| 41 | 'Setting__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 42 | 'positiveGeoTargetType' => 'Google::Ads::AdWords::v201809::GeoTargetTypeSetting::PositiveGeoTargetType', | ||
| 43 | 'negativeGeoTargetType' => 'Google::Ads::AdWords::v201809::GeoTargetTypeSetting::NegativeGeoTargetType', | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | |||
| 47 | 'Setting__Type' => 'Setting.Type', | ||
| 48 | 'positiveGeoTargetType' => 'positiveGeoTargetType', | ||
| 49 | 'negativeGeoTargetType' => 'negativeGeoTargetType', | ||
| 50 | } | ||
| 51 | ); | ||
| 52 | |||
| 53 | } # end BLOCK | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | 1; | ||
| 62 | |||
| 63 | |||
| 64 | =pod | ||
| 65 | |||
| 66 | =head1 NAME | ||
| 67 | |||
| 68 | Google::Ads::AdWords::v201809::GeoTargetTypeSetting | ||
| 69 | |||
| 70 | =head1 DESCRIPTION | ||
| 71 | |||
| 72 | Perl data type class for the XML Schema defined complexType | ||
| 73 | GeoTargetTypeSetting from the namespace https://adwords.google.com/api/adwords/cm/v201809. | ||
| 74 | |||
| 75 | Represents a collection of settings related to ads geotargeting. <p>AdWords ads can be geotargeted using <b>Location of Presence</b> (<b>LOP</b>), <b>Area of Interest</b> (<b>AOI</b>), or both. LOP is the physical location of the user performing the search; AOI is the geographical region in which the searcher is interested. For example, if a user in New York City performs a search "hotels california", their LOP is New York City and their AOI is California. <p>Additionally, ads can be <b>positively</b> or <b>negatively</b> geotargeted. An ad that is positively geotargeted to New York City only appears to users whose location is related (via AOI or LOP) to New York City. An ad that is negatively geotargeted to New York City appears for <i>all</i> users <i>except</i> those whose location is related to New York City. Ads can only be negatively geotargeted if a positive geotargeting is also supplied, and the negatively geotargeted region must be contained within the positive region. <p>Geotargeting settings allow ads to be targeted in the following way: <ul> <li> Positively geotargeted using solely AOI, solely LOP, or either. <li> Negatively geotargeted using solely LOP, or both. </ul> | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 PROPERTIES | ||
| 81 | |||
| 82 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 83 | methods: | ||
| 84 | |||
| 85 | =over | ||
| 86 | |||
| 87 | =item * positiveGeoTargetType | ||
| 88 | |||
| 89 | |||
| 90 | =item * negativeGeoTargetType | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =back | ||
| 96 | |||
| 97 | |||
| 98 | =head1 METHODS | ||
| 99 | |||
| 100 | =head2 new | ||
| 101 | |||
| 102 | Constructor. The following data structure may be passed to new(): | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head1 AUTHOR | ||
| 110 | |||
| 111 | Generated by SOAP::WSDL | ||
| 112 | |||
| 113 | =cut | ||
| 114 | |||