lib/Google/Ads/AdWords/v201809/Proximity.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/PromotionFeedItem.pm ↑ Summary lib/Google/Ads/AdWords/v201809/QueryError.pm »
1 package Google::Ads::AdWords::v201809::Proximity;
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::Criterion);
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 %id_of :ATTR(:get<id>);
26 my %type_of :ATTR(:get<type>);
27 my %Criterion__Type_of :ATTR(:get<Criterion__Type>);
28 my %geoPoint_of :ATTR(:get<geoPoint>);
29 my %radiusDistanceUnits_of :ATTR(:get<radiusDistanceUnits>);
30 my %radiusInUnits_of :ATTR(:get<radiusInUnits>);
31 my %address_of :ATTR(:get<address>);
32  
33 __PACKAGE__->_factory(
34 [ qw( id
35 type
36 Criterion__Type
37 geoPoint
38 radiusDistanceUnits
39 radiusInUnits
40 address
41  
42 ) ],
43 {
44 'id' => \%id_of,
45 'type' => \%type_of,
46 'Criterion__Type' => \%Criterion__Type_of,
47 'geoPoint' => \%geoPoint_of,
48 'radiusDistanceUnits' => \%radiusDistanceUnits_of,
49 'radiusInUnits' => \%radiusInUnits_of,
50 'address' => \%address_of,
51 },
52 {
53 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54 'type' => 'Google::Ads::AdWords::v201809::Criterion::Type',
55 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'geoPoint' => 'Google::Ads::AdWords::v201809::GeoPoint',
57 'radiusDistanceUnits' => 'Google::Ads::AdWords::v201809::Proximity::DistanceUnits',
58 'radiusInUnits' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
59 'address' => 'Google::Ads::AdWords::v201809::Address',
60 },
61 {
62  
63 'id' => 'id',
64 'type' => 'type',
65 'Criterion__Type' => 'Criterion.Type',
66 'geoPoint' => 'geoPoint',
67 'radiusDistanceUnits' => 'radiusDistanceUnits',
68 'radiusInUnits' => 'radiusInUnits',
69 'address' => 'address',
70 }
71 );
72  
73 } # end BLOCK
74  
75  
76  
77  
78  
79  
80  
81 1;
82  
83  
84 =pod
85  
86 =head1 NAME
87  
88 Google::Ads::AdWords::v201809::Proximity
89  
90 =head1 DESCRIPTION
91  
92 Perl data type class for the XML Schema defined complexType
93 Proximity from the namespace https://adwords.google.com/api/adwords/cm/v201809.
94  
95 Represents a Proximity Criterion. A proximity is an area within a certain radius of a point with the center point being described by a lat/long pair. The caller may also alternatively provide address fields which will be geocoded into a lat/long pair. Note: If a geoPoint value is provided, the address is not used for calculating the lat/long to target. <p> A criterion of this type is only targetable. <span class="constraint AdxEnabled">This is enabled for AdX.</span>
96  
97  
98  
99  
100 =head2 PROPERTIES
101  
102 The following properties may be accessed using get_PROPERTY / set_PROPERTY
103 methods:
104  
105 =over
106  
107 =item * geoPoint
108  
109  
110 =item * radiusDistanceUnits
111  
112  
113 =item * radiusInUnits
114  
115  
116 =item * address
117  
118  
119  
120  
121 =back
122  
123  
124 =head1 METHODS
125  
126 =head2 new
127  
128 Constructor. The following data structure may be passed to new():
129  
130  
131  
132  
133  
134  
135 =head1 AUTHOR
136  
137 Generated by SOAP::WSDL
138  
139 =cut
140  
« lib/Google/Ads/AdWords/v201809/PromotionFeedItem.pm ↑ Summary lib/Google/Ads/AdWords/v201809/QueryError.pm »