blib/lib/Google/Ads/AdWords/v201309/InAppLinkExtension.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 43 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201309::InAppLinkExtension;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201309' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 use base qw(Google::Ads::AdWords::v201309::AdExtension);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %id_of :ATTR(:get<id>);
28 my %AdExtension__Type_of :ATTR(:get<AdExtension__Type>);
29 my %inAppLinkText_of :ATTR(:get<inAppLinkText>);
30 my %inAppLinkUrl_of :ATTR(:get<inAppLinkUrl>);
31 my %appStore_of :ATTR(:get<appStore>);
32 my %appId_of :ATTR(:get<appId>);
33  
34 __PACKAGE__->_factory(
35 [ qw( id
36 AdExtension__Type
37 inAppLinkText
38 inAppLinkUrl
39 appStore
40 appId
41  
42 ) ],
43 {
44 'id' => \%id_of,
45 'AdExtension__Type' => \%AdExtension__Type_of,
46 'inAppLinkText' => \%inAppLinkText_of,
47 'inAppLinkUrl' => \%inAppLinkUrl_of,
48 'appStore' => \%appStore_of,
49 'appId' => \%appId_of,
50 },
51 {
52 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
53 'AdExtension__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'inAppLinkText' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 'inAppLinkUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'appStore' => 'Google::Ads::AdWords::v201309::InAppLinkExtension::AppStore',
57 'appId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 },
59 {
60  
61 'id' => 'id',
62 'AdExtension__Type' => 'AdExtension.Type',
63 'inAppLinkText' => 'inAppLinkText',
64 'inAppLinkUrl' => 'inAppLinkUrl',
65 'appStore' => 'appStore',
66 'appId' => 'appId',
67 }
68 );
69  
70 } # end BLOCK
71  
72  
73  
74  
75  
76  
77  
78 1;
79  
80  
81 =pod
82  
83 =head1 NAME
84  
85 Google::Ads::AdWords::v201309::InAppLinkExtension
86  
87 =head1 DESCRIPTION
88  
89 Perl data type class for the XML Schema defined complexType
90 InAppLinkExtension from the namespace https://adwords.google.com/api/adwords/cm/v201309.
91  
92 <p>This extension is useful for advertisers who wish to provide users with a link that points to the advertiser's mobile application in addition to their website. <p>It is also known as Mobile App Extension. <p>The API allows one InAppLinkExtension per {@code AppStore} per campaign. Only the extension for a given {@code AppStore} will render on the device relevant to that {@code AppStore} (e.g. iPhones for {@code AppStore.ITUNES} and Android phones for {@code AppStore.GOOGLE_PLAY}). <span class="constraint Beta">This is a beta feature.</span>
93  
94  
95  
96  
97 =head2 PROPERTIES
98  
99 The following properties may be accessed using get_PROPERTY / set_PROPERTY
100 methods:
101  
102 =over
103  
104 =item * inAppLinkText
105  
106  
107 =item * inAppLinkUrl
108  
109  
110 =item * appStore
111  
112  
113 =item * appId
114  
115  
116  
117  
118 =back
119  
120  
121 =head1 METHODS
122  
123 =head2 new
124  
125 Constructor. The following data structure may be passed to new():
126  
127  
128  
129  
130  
131  
132 =head1 AUTHOR
133  
134 Generated by SOAP::WSDL
135  
136 =cut
137