« blib/lib/Google/Ads/AdWords/v201309/ConstantDataService/ConstantDataServiceInterfacePort.pm
↑ Summary
blib/lib/Google/Ads/SOAP/Generator/Generator.pm »
| 1 | package Google::Ads::AdWords::v201402::ConstantDataService::ConstantDataServiceInterfacePort; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use Class::Std::Fast::Storable; | ||
| 5 | use Scalar::Util qw(blessed); | ||
| 6 | use base qw(SOAP::WSDL::Client::Base); | ||
| 7 | |||
| 8 | # only load if it hasn't been loaded before | ||
| 9 | require Google::Ads::AdWords::v201402::TypeMaps::ConstantDataService | ||
| 10 | if not Google::Ads::AdWords::v201402::TypeMaps::ConstantDataService->can('get_class'); | ||
| 11 | |||
| 12 | sub START { | ||
| 13 | $_[0]->set_proxy('https://adwords.google.com/api/adwords/cm/v201402/ConstantDataService') if not $_[2]->{proxy}; | ||
| 14 | $_[0]->set_class_resolver('Google::Ads::AdWords::v201402::TypeMaps::ConstantDataService') | ||
| 15 | if not $_[2]->{class_resolver}; | ||
| 16 | |||
| 17 | $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix}; | ||
| 18 | } | ||
| 19 | |||
| 20 | sub getAgeRangeCriterion { | ||
| 21 | my ($self, $body, $header) = @_; | ||
| 22 | die "getAgeRangeCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 23 | return $self->SUPER::call({ | ||
| 24 | operation => 'getAgeRangeCriterion', | ||
| 25 | soap_action => '', | ||
| 26 | style => 'document', | ||
| 27 | body => { | ||
| 28 | |||
| 29 | |||
| 30 | 'use' => 'literal', | ||
| 31 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 32 | encodingStyle => '', | ||
| 33 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getAgeRangeCriterion )], | ||
| 34 | }, | ||
| 35 | header => { | ||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | 'use' => 'literal', | ||
| 40 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 41 | encodingStyle => '', | ||
| 42 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 43 | }, | ||
| 44 | headerfault => { | ||
| 45 | |||
| 46 | } | ||
| 47 | }, $body, $header); | ||
| 48 | } | ||
| 49 | |||
| 50 | |||
| 51 | sub getCarrierCriterion { | ||
| 52 | my ($self, $body, $header) = @_; | ||
| 53 | die "getCarrierCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 54 | return $self->SUPER::call({ | ||
| 55 | operation => 'getCarrierCriterion', | ||
| 56 | soap_action => '', | ||
| 57 | style => 'document', | ||
| 58 | body => { | ||
| 59 | |||
| 60 | |||
| 61 | 'use' => 'literal', | ||
| 62 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 63 | encodingStyle => '', | ||
| 64 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getCarrierCriterion )], | ||
| 65 | }, | ||
| 66 | header => { | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | 'use' => 'literal', | ||
| 71 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 72 | encodingStyle => '', | ||
| 73 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 74 | }, | ||
| 75 | headerfault => { | ||
| 76 | |||
| 77 | } | ||
| 78 | }, $body, $header); | ||
| 79 | } | ||
| 80 | |||
| 81 | |||
| 82 | sub getGenderCriterion { | ||
| 83 | my ($self, $body, $header) = @_; | ||
| 84 | die "getGenderCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 85 | return $self->SUPER::call({ | ||
| 86 | operation => 'getGenderCriterion', | ||
| 87 | soap_action => '', | ||
| 88 | style => 'document', | ||
| 89 | body => { | ||
| 90 | |||
| 91 | |||
| 92 | 'use' => 'literal', | ||
| 93 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 94 | encodingStyle => '', | ||
| 95 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getGenderCriterion )], | ||
| 96 | }, | ||
| 97 | header => { | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | 'use' => 'literal', | ||
| 102 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 103 | encodingStyle => '', | ||
| 104 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 105 | }, | ||
| 106 | headerfault => { | ||
| 107 | |||
| 108 | } | ||
| 109 | }, $body, $header); | ||
| 110 | } | ||
| 111 | |||
| 112 | |||
| 113 | sub getLanguageCriterion { | ||
| 114 | my ($self, $body, $header) = @_; | ||
| 115 | die "getLanguageCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 116 | return $self->SUPER::call({ | ||
| 117 | operation => 'getLanguageCriterion', | ||
| 118 | soap_action => '', | ||
| 119 | style => 'document', | ||
| 120 | body => { | ||
| 121 | |||
| 122 | |||
| 123 | 'use' => 'literal', | ||
| 124 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 125 | encodingStyle => '', | ||
| 126 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getLanguageCriterion )], | ||
| 127 | }, | ||
| 128 | header => { | ||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | 'use' => 'literal', | ||
| 133 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 134 | encodingStyle => '', | ||
| 135 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 136 | }, | ||
| 137 | headerfault => { | ||
| 138 | |||
| 139 | } | ||
| 140 | }, $body, $header); | ||
| 141 | } | ||
| 142 | |||
| 143 | |||
| 144 | sub getMobileDeviceCriterion { | ||
| 145 | my ($self, $body, $header) = @_; | ||
| 146 | die "getMobileDeviceCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 147 | return $self->SUPER::call({ | ||
| 148 | operation => 'getMobileDeviceCriterion', | ||
| 149 | soap_action => '', | ||
| 150 | style => 'document', | ||
| 151 | body => { | ||
| 152 | |||
| 153 | |||
| 154 | 'use' => 'literal', | ||
| 155 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 156 | encodingStyle => '', | ||
| 157 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getMobileDeviceCriterion )], | ||
| 158 | }, | ||
| 159 | header => { | ||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | 'use' => 'literal', | ||
| 164 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 165 | encodingStyle => '', | ||
| 166 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 167 | }, | ||
| 168 | headerfault => { | ||
| 169 | |||
| 170 | } | ||
| 171 | }, $body, $header); | ||
| 172 | } | ||
| 173 | |||
| 174 | |||
| 175 | sub getOperatingSystemVersionCriterion { | ||
| 176 | my ($self, $body, $header) = @_; | ||
| 177 | die "getOperatingSystemVersionCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 178 | return $self->SUPER::call({ | ||
| 179 | operation => 'getOperatingSystemVersionCriterion', | ||
| 180 | soap_action => '', | ||
| 181 | style => 'document', | ||
| 182 | body => { | ||
| 183 | |||
| 184 | |||
| 185 | 'use' => 'literal', | ||
| 186 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 187 | encodingStyle => '', | ||
| 188 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getOperatingSystemVersionCriterion )], | ||
| 189 | }, | ||
| 190 | header => { | ||
| 191 | |||
| 192 | |||
| 193 | |||
| 194 | 'use' => 'literal', | ||
| 195 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 196 | encodingStyle => '', | ||
| 197 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 198 | }, | ||
| 199 | headerfault => { | ||
| 200 | |||
| 201 | } | ||
| 202 | }, $body, $header); | ||
| 203 | } | ||
| 204 | |||
| 205 | |||
| 206 | sub getProductBiddingCategoryData { | ||
| 207 | my ($self, $body, $header) = @_; | ||
| 208 | die "getProductBiddingCategoryData must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 209 | return $self->SUPER::call({ | ||
| 210 | operation => 'getProductBiddingCategoryData', | ||
| 211 | soap_action => '', | ||
| 212 | style => 'document', | ||
| 213 | body => { | ||
| 214 | |||
| 215 | |||
| 216 | 'use' => 'literal', | ||
| 217 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 218 | encodingStyle => '', | ||
| 219 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getProductBiddingCategoryData )], | ||
| 220 | }, | ||
| 221 | header => { | ||
| 222 | |||
| 223 | |||
| 224 | |||
| 225 | 'use' => 'literal', | ||
| 226 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 227 | encodingStyle => '', | ||
| 228 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 229 | }, | ||
| 230 | headerfault => { | ||
| 231 | |||
| 232 | } | ||
| 233 | }, $body, $header); | ||
| 234 | } | ||
| 235 | |||
| 236 | |||
| 237 | sub getUserInterestCriterion { | ||
| 238 | my ($self, $body, $header) = @_; | ||
| 239 | die "getUserInterestCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 240 | return $self->SUPER::call({ | ||
| 241 | operation => 'getUserInterestCriterion', | ||
| 242 | soap_action => '', | ||
| 243 | style => 'document', | ||
| 244 | body => { | ||
| 245 | |||
| 246 | |||
| 247 | 'use' => 'literal', | ||
| 248 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 249 | encodingStyle => '', | ||
| 250 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getUserInterestCriterion )], | ||
| 251 | }, | ||
| 252 | header => { | ||
| 253 | |||
| 254 | |||
| 255 | |||
| 256 | 'use' => 'literal', | ||
| 257 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 258 | encodingStyle => '', | ||
| 259 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 260 | }, | ||
| 261 | headerfault => { | ||
| 262 | |||
| 263 | } | ||
| 264 | }, $body, $header); | ||
| 265 | } | ||
| 266 | |||
| 267 | |||
| 268 | sub getVerticalCriterion { | ||
| 269 | my ($self, $body, $header) = @_; | ||
| 270 | die "getVerticalCriterion must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 271 | return $self->SUPER::call({ | ||
| 272 | operation => 'getVerticalCriterion', | ||
| 273 | soap_action => '', | ||
| 274 | style => 'document', | ||
| 275 | body => { | ||
| 276 | |||
| 277 | |||
| 278 | 'use' => 'literal', | ||
| 279 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 280 | encodingStyle => '', | ||
| 281 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::getVerticalCriterion )], | ||
| 282 | }, | ||
| 283 | header => { | ||
| 284 | |||
| 285 | |||
| 286 | |||
| 287 | 'use' => 'literal', | ||
| 288 | namespace => 'http://schemas.xmlsoap.org/wsdl/soap/', | ||
| 289 | encodingStyle => '', | ||
| 290 | parts => [qw( Google::Ads::AdWords::v201402::ConstantDataService::RequestHeader )], | ||
| 291 | }, | ||
| 292 | headerfault => { | ||
| 293 | |||
| 294 | } | ||
| 295 | }, $body, $header); | ||
| 296 | } | ||
| 297 | |||
| 298 | |||
| 299 | |||
| 300 | |||
| 301 | 1; | ||
| 302 | |||
| 303 | |||
| 304 | |||
| 305 | __END__ |