package Google::Ads::AdWords::v201809::CountryConstraint; 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 base qw(Google::Ads::AdWords::v201809::PolicyTopicConstraint); # Variety: sequence use Class::Std::Fast::Storable constructor => 'none'; use base qw(Google::Ads::SOAP::Typelib::ComplexType); { # BLOCK to scope variables my %constraintType_of :ATTR(:get); my %PolicyTopicConstraint__Type_of :ATTR(:get); my %constrainedCountries_of :ATTR(:get); my %totalTargetedCountries_of :ATTR(:get); __PACKAGE__->_factory( [ qw( constraintType PolicyTopicConstraint__Type constrainedCountries totalTargetedCountries ) ], { 'constraintType' => \%constraintType_of, 'PolicyTopicConstraint__Type' => \%PolicyTopicConstraint__Type_of, 'constrainedCountries' => \%constrainedCountries_of, 'totalTargetedCountries' => \%totalTargetedCountries_of, }, { 'constraintType' => 'Google::Ads::AdWords::v201809::PolicyTopicConstraint::PolicyTopicConstraintType', 'PolicyTopicConstraint__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', 'constrainedCountries' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', 'totalTargetedCountries' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', }, { 'constraintType' => 'constraintType', 'PolicyTopicConstraint__Type' => 'PolicyTopicConstraint.Type', 'constrainedCountries' => 'constrainedCountries', 'totalTargetedCountries' => 'totalTargetedCountries', } ); } # end BLOCK 1; =pod =head1 NAME Google::Ads::AdWords::v201809::CountryConstraint =head1 DESCRIPTION Perl data type class for the XML Schema defined complexType CountryConstraint from the namespace https://adwords.google.com/api/adwords/cm/v201809. Information about countries that were targeted that caused a policy finding. If a CountryConstraint has 0 targeted countries and an empty list of constrained countries, it means that the constraint applies globally. =head2 PROPERTIES The following properties may be accessed using get_PROPERTY / set_PROPERTY methods: =over =item * constrainedCountries =item * totalTargetedCountries =back =head1 METHODS =head2 new Constructor. The following data structure may be passed to new(): =head1 AUTHOR Generated by SOAP::WSDL =cut