com.google.api.ads.adwords.v201109.cm
Interface CampaignTargetServiceInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
CampaignTargetServiceSoapBindingStub

public interface CampaignTargetServiceInterface
extends Remote


Method Summary
 CampaignTargetPage get(CampaignTargetSelector selector)
          Returns the targets for each of the campaigns identified in the campaign target selector.
 CampaignTargetReturnValue mutate(CampaignTargetOperation[] operations)
          Mutates (sets) targets for specified campaign identified in the campaign operations.
 

Method Detail

get

CampaignTargetPage get(CampaignTargetSelector selector)
                       throws RemoteException,
                              ApiException
Returns the targets for each of the campaigns identified in the campaign target selector.

Parameters:
selector - a list of campaigns' ids and optional filter of target types.
Returns:
page of lists of the requested campaign targets.
Throws:
ApiException - if problems occurred while fetching campaign targeting information.
RemoteException

mutate

CampaignTargetReturnValue mutate(CampaignTargetOperation[] operations)
                                 throws RemoteException,
                                        ApiException
Mutates (sets) targets for specified campaign identified in the campaign operations.

Note: When a campaign is created, its targeting options are also created. To add or remove targets, call mutate with the SET operator to update the target lists accordingly. The ADD and REMOVE operators are not supported.

Parameters:
operations - list of operations associating targets with campaign ids.
Returns:
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.
RemoteException


Copyright © 2011. All Rights Reserved.