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

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/CampaignExtensionSetting.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CampaignGroup.pm »
1 package Google::Ads::AdWords::v201809::CampaignFeed;
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 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %feedId_of :ATTR(:get<feedId>);
23 my %campaignId_of :ATTR(:get<campaignId>);
24 my %matchingFunction_of :ATTR(:get<matchingFunction>);
25 my %placeholderTypes_of :ATTR(:get<placeholderTypes>);
26 my %status_of :ATTR(:get<status>);
27 my %baseCampaignId_of :ATTR(:get<baseCampaignId>);
28  
29 __PACKAGE__->_factory(
30 [ qw( feedId
31 campaignId
32 matchingFunction
33 placeholderTypes
34 status
35 baseCampaignId
36  
37 ) ],
38 {
39 'feedId' => \%feedId_of,
40 'campaignId' => \%campaignId_of,
41 'matchingFunction' => \%matchingFunction_of,
42 'placeholderTypes' => \%placeholderTypes_of,
43 'status' => \%status_of,
44 'baseCampaignId' => \%baseCampaignId_of,
45 },
46 {
47 'feedId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
48 'campaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
49 'matchingFunction' => 'Google::Ads::AdWords::v201809::Function',
50 'placeholderTypes' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
51 'status' => 'Google::Ads::AdWords::v201809::CampaignFeed::Status',
52 'baseCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
53 },
54 {
55  
56 'feedId' => 'feedId',
57 'campaignId' => 'campaignId',
58 'matchingFunction' => 'matchingFunction',
59 'placeholderTypes' => 'placeholderTypes',
60 'status' => 'status',
61 'baseCampaignId' => 'baseCampaignId',
62 }
63 );
64  
65 } # end BLOCK
66  
67  
68  
69  
70  
71  
72  
73 1;
74  
75  
76 =pod
77  
78 =head1 NAME
79  
80 Google::Ads::AdWords::v201809::CampaignFeed
81  
82 =head1 DESCRIPTION
83  
84 Perl data type class for the XML Schema defined complexType
85 CampaignFeed from the namespace https://adwords.google.com/api/adwords/cm/v201809.
86  
87 CampaignFeeds are used to link a feed to a campaign using a matching function, making the feed's feed items available in the campaign's ads for substitution.
88  
89  
90  
91  
92 =head2 PROPERTIES
93  
94 The following properties may be accessed using get_PROPERTY / set_PROPERTY
95 methods:
96  
97 =over
98  
99 =item * feedId
100  
101  
102 =item * campaignId
103  
104  
105 =item * matchingFunction
106  
107  
108 =item * placeholderTypes
109  
110  
111 =item * status
112  
113  
114 =item * baseCampaignId
115  
116  
117  
118  
119 =back
120  
121  
122 =head1 METHODS
123  
124 =head2 new
125  
126 Constructor. The following data structure may be passed to new():
127  
128  
129  
130  
131  
132  
133 =head1 AUTHOR
134  
135 Generated by SOAP::WSDL
136  
137 =cut
138  
« lib/Google/Ads/AdWords/v201809/CampaignExtensionSetting.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CampaignGroup.pm »