« blib/lib/Google/Ads/AdWords/v201802/TrafficEstimatorService/getResponse.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201802/TrialAsyncError.pm »
| 1 | package Google::Ads::AdWords::v201802::Trial; | ||
| 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/v201802' }; | ||
| 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 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 18 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||
| 19 | |||
| 20 | { # BLOCK to scope variables | ||
| 21 | |||
| 22 | my %id_of :ATTR(:get<id>); | ||
| 23 | my %baseCampaignId_of :ATTR(:get<baseCampaignId>); | ||
| 24 | my %draftId_of :ATTR(:get<draftId>); | ||
| 25 | my %budgetId_of :ATTR(:get<budgetId>); | ||
| 26 | my %name_of :ATTR(:get<name>); | ||
| 27 | my %startDate_of :ATTR(:get<startDate>); | ||
| 28 | my %endDate_of :ATTR(:get<endDate>); | ||
| 29 | my %trafficSplitPercent_of :ATTR(:get<trafficSplitPercent>); | ||
| 30 | my %status_of :ATTR(:get<status>); | ||
| 31 | my %trialCampaignId_of :ATTR(:get<trialCampaignId>); | ||
| 32 | |||
| 33 | __PACKAGE__->_factory( | ||
| 34 | [ qw( id | ||
| 35 | baseCampaignId | ||
| 36 | draftId | ||
| 37 | budgetId | ||
| 38 | name | ||
| 39 | startDate | ||
| 40 | endDate | ||
| 41 | trafficSplitPercent | ||
| 42 | status | ||
| 43 | trialCampaignId | ||
| 44 | |||
| 45 | ) ], | ||
| 46 | { | ||
| 47 | 'id' => \%id_of, | ||
| 48 | 'baseCampaignId' => \%baseCampaignId_of, | ||
| 49 | 'draftId' => \%draftId_of, | ||
| 50 | 'budgetId' => \%budgetId_of, | ||
| 51 | 'name' => \%name_of, | ||
| 52 | 'startDate' => \%startDate_of, | ||
| 53 | 'endDate' => \%endDate_of, | ||
| 54 | 'trafficSplitPercent' => \%trafficSplitPercent_of, | ||
| 55 | 'status' => \%status_of, | ||
| 56 | 'trialCampaignId' => \%trialCampaignId_of, | ||
| 57 | }, | ||
| 58 | { | ||
| 59 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 60 | 'baseCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 61 | 'draftId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 62 | 'budgetId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 63 | 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 64 | 'startDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 65 | 'endDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 66 | 'trafficSplitPercent' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 67 | 'status' => 'Google::Ads::AdWords::v201802::TrialStatus', | ||
| 68 | 'trialCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | |||
| 72 | 'id' => 'id', | ||
| 73 | 'baseCampaignId' => 'baseCampaignId', | ||
| 74 | 'draftId' => 'draftId', | ||
| 75 | 'budgetId' => 'budgetId', | ||
| 76 | 'name' => 'name', | ||
| 77 | 'startDate' => 'startDate', | ||
| 78 | 'endDate' => 'endDate', | ||
| 79 | 'trafficSplitPercent' => 'trafficSplitPercent', | ||
| 80 | 'status' => 'status', | ||
| 81 | 'trialCampaignId' => 'trialCampaignId', | ||
| 82 | } | ||
| 83 | ); | ||
| 84 | |||
| 85 | } # end BLOCK | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | 1; | ||
| 94 | |||
| 95 | |||
| 96 | =pod | ||
| 97 | |||
| 98 | =head1 NAME | ||
| 99 | |||
| 100 | Google::Ads::AdWords::v201802::Trial | ||
| 101 | |||
| 102 | =head1 DESCRIPTION | ||
| 103 | |||
| 104 | Perl data type class for the XML Schema defined complexType | ||
| 105 | Trial from the namespace https://adwords.google.com/api/adwords/cm/v201802. | ||
| 106 | |||
| 107 | Interface for campaign trial entities. A trial is an experiment created by an advertiser from changes in a draft. | ||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head2 PROPERTIES | ||
| 113 | |||
| 114 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 115 | methods: | ||
| 116 | |||
| 117 | =over | ||
| 118 | |||
| 119 | =item * id | ||
| 120 | |||
| 121 | |||
| 122 | =item * baseCampaignId | ||
| 123 | |||
| 124 | |||
| 125 | =item * draftId | ||
| 126 | |||
| 127 | |||
| 128 | =item * budgetId | ||
| 129 | |||
| 130 | |||
| 131 | =item * name | ||
| 132 | |||
| 133 | |||
| 134 | =item * startDate | ||
| 135 | |||
| 136 | |||
| 137 | =item * endDate | ||
| 138 | |||
| 139 | |||
| 140 | =item * trafficSplitPercent | ||
| 141 | |||
| 142 | |||
| 143 | =item * status | ||
| 144 | |||
| 145 | |||
| 146 | =item * trialCampaignId | ||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | =back | ||
| 152 | |||
| 153 | |||
| 154 | =head1 METHODS | ||
| 155 | |||
| 156 | =head2 new | ||
| 157 | |||
| 158 | Constructor. The following data structure may be passed to new(): | ||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | =head1 AUTHOR | ||
| 166 | |||
| 167 | Generated by SOAP::WSDL | ||
| 168 | |||
| 169 | =cut | ||
| 170 |