« blib/lib/Google/Ads/AdWords/v201809/OfflineCallConversionFeedService/OfflineCallConversionFeedServiceInterfacePort.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201809/OfflineConversionFeedService/OfflineConversionFeedServiceInterfacePort.pm »
| 1 | package Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedService::OfflineConversionAdjustmentFeedServiceInterfacePort; | ||
| 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::v201809::TypeMaps::OfflineConversionAdjustmentFeedService | ||
| 10 | if not Google::Ads::AdWords::v201809::TypeMaps::OfflineConversionAdjustmentFeedService->can('get_class'); | ||
| 11 | |||
| 12 | sub START { | ||
| 13 | $_[0]->set_proxy('https://adwords.google.com/api/adwords/cm/v201809/OfflineConversionAdjustmentFeedService') if not $_[2]->{proxy}; | ||
| 14 | $_[0]->set_class_resolver('Google::Ads::AdWords::v201809::TypeMaps::OfflineConversionAdjustmentFeedService') | ||
| 15 | if not $_[2]->{class_resolver}; | ||
| 16 | |||
| 17 | $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix}; | ||
| 18 | } | ||
| 19 | |||
| 20 | sub mutate { | ||
| 21 | my ($self, $body, $header) = @_; | ||
| 22 | die "mutate must be called as object method (\$self is <$self>)" if not blessed($self); | ||
| 23 | return $self->SUPER::call({ | ||
| 24 | operation => 'mutate', | ||
| 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::v201809::OfflineConversionAdjustmentFeedService::mutate )], | ||
| 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::v201809::OfflineConversionAdjustmentFeedService::RequestHeader )], | ||
| 43 | }, | ||
| 44 | headerfault => { | ||
| 45 | |||
| 46 | } | ||
| 47 | }, $body, $header); | ||
| 48 | } | ||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | 1; | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | __END__ | ||
| 58 | |||
| 59 | =pod | ||
| 60 | |||
| 61 | =head1 NAME | ||
| 62 | |||
| 63 | Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedService::OfflineConversionAdjustmentFeedServiceInterfacePort - SOAP Interface for the OfflineConversionAdjustmentFeedService Web Service | ||
| 64 | |||
| 65 | =head1 SYNOPSIS | ||
| 66 | |||
| 67 | use Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedService::OfflineConversionAdjustmentFeedServiceInterfacePort; | ||
| 68 | my $interface = Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedService::OfflineConversionAdjustmentFeedServiceInterfacePort->new(); | ||
| 69 | |||
| 70 | my $response; | ||
| 71 | $response = $interface->mutate(); | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head1 DESCRIPTION | ||
| 76 | |||
| 77 | SOAP Interface for the OfflineConversionAdjustmentFeedService web service | ||
| 78 | located at https://adwords.google.com/api/adwords/cm/v201809/OfflineConversionAdjustmentFeedService. | ||
| 79 | |||
| 80 | =head1 SERVICE OfflineConversionAdjustmentFeedService | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 Port OfflineConversionAdjustmentFeedServiceInterfacePort | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 METHODS | ||
| 89 | |||
| 90 | =head2 General methods | ||
| 91 | |||
| 92 | =head3 new | ||
| 93 | |||
| 94 | Constructor. | ||
| 95 | |||
| 96 | All arguments are forwarded to L<SOAP::WSDL::Client|SOAP::WSDL::Client>. | ||
| 97 | |||
| 98 | =head2 SOAP Service methods | ||
| 99 | |||
| 100 | Method synopsis is displayed with hash refs as parameters. | ||
| 101 | |||
| 102 | The commented class names in the method's parameters denote that objects | ||
| 103 | of the corresponding class can be passed instead of the marked hash ref. | ||
| 104 | |||
| 105 | You may pass any combination of objects, hash and list refs to these | ||
| 106 | methods, as long as you meet the structure. | ||
| 107 | |||
| 108 | List items (i.e. multiple occurences) are not displayed in the synopsis. | ||
| 109 | You may generally pass a list ref of hash refs (or objects) instead of a hash | ||
| 110 | ref - this may result in invalid XML if used improperly, though. Note that | ||
| 111 | SOAP::WSDL always expects list references at maximum depth position. | ||
| 112 | |||
| 113 | XML attributes are not displayed in this synopsis and cannot be set using | ||
| 114 | hash refs. See the respective class' documentation for additional information. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | =head3 mutate | ||
| 119 | |||
| 120 | Reports a conversion adjustment for each entry in {@code operations}. <p><b>Note:</b> {@link OfflineConversionAdjustmentFeedOperation} supports only the {@code ADD} operator. ({@code SET} and {@code REMOVE} are not supported.) @param operations A list of offline conversion adjustment feed operations. @return The list of offline conversion adjustment feed results in the same order as the operations. @throws {@link ApiException} If problems occurred while applying offline adjustment conversions. | ||
| 121 | |||
| 122 | Returns a L<Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedService::mutateResponse|Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedService::mutateResponse> object. | ||
| 123 | |||
| 124 | $response = $interface->mutate( { | ||
| 125 | operations => $a_reference_to, # see Google::Ads::AdWords::v201809::OfflineConversionAdjustmentFeedOperation | ||
| 126 | },, | ||
| 127 | ); | ||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | =head1 AUTHOR | ||
| 132 | |||
| 133 | Generated by SOAP::WSDL on Thu Sep 20 11:09:55 2018 | ||
| 134 | |||
| 135 | =cut |