Google::Ads::AdWords::v201109_1::CampaignTargetService::CampaignTargetServiceInterfacePort - SOAP Interface for the CampaignTargetService Web Service
use Google::Ads::AdWords::v201109_1::CampaignTargetService::CampaignTargetServiceInterfacePort; my $interface = Google::Ads::AdWords::v201109_1::CampaignTargetService::CampaignTargetServiceInterfacePort->new(); my $response; $response = $interface->get(); $response = $interface->mutate();
SOAP Interface for the CampaignTargetService web service located at https://adwords.google.com/api/adwords/cm/v201109_1/CampaignTargetService.
Constructor.
All arguments are forwarded to SOAP::WSDL::Client.
Method synopsis is displayed with hash refs as parameters.
The commented class names in the method's parameters denote that objects of the corresponding class can be passed instead of the marked hash ref.
You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure.
List items (i.e. multiple occurences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position.
XML attributes are not displayed in this synopsis and cannot be set using hash refs. See the respective class' documentation for additional information.
Returns the targets for each of the campaigns identified in the campaign target selector. @param selector a list of campaigns' ids and optional filter of target types. @return page of lists of the requested campaign targets. @throws ApiException if problems occurred while fetching campaign targeting information.
Returns a Google::Ads::AdWords::v201109_1::CampaignTargetService::getResponse object.
$response = $interface->get( { selector => $a_reference_to, # see Google::Ads::AdWords::v201109_1::CampaignTargetSelector },, );
Mutates (sets) targets for specified campaign identified in the campaign operations. <p class="note"><b>Note:</b> When a campaign is created, its targeting options are also created. To add or remove targets, call {@code mutate} with the {@code SET} operator to update the target lists accordingly. The {@code ADD} and {@code REMOVE} operators are not supported.</p> @param operations list of operations associating targets with campaign ids. @return the updated campaign targets, not necessarily in the same order in which they came in. @throws ApiException if problems occurred while adding campaign targeting information.
Returns a Google::Ads::AdWords::v201109_1::CampaignTargetService::mutateResponse object.
$response = $interface->mutate( { operations => $a_reference_to, # see Google::Ads::AdWords::v201109_1::CampaignTargetOperation },, );
Generated by SOAP::WSDL on Fri Oct 5 10:35:57 2012
To install Google::Ads::AdWords::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Ads::AdWords::Client
CPAN shell
perl -MCPAN -e shell install Google::Ads::AdWords::Client
For more information on module installation, please visit the detailed CPAN module installation guide.