Hi Raju, The operator is named "REMOVE", not "DELETE". However, for campaigns you can't use this operator. Instead you must update the status of the campaign to DELETED using the SET operator.
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.Campaign.html#status Best, - Eric Koleda, AdWords API Team On Feb 18, 6:03 am, "[email protected]" <[email protected]> wrote: > Hi, > > I am integrating the new version of google adwords v2009. > here remove campaign is not working it's giving error > > SoapFault Object ( [message:protected] => > [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], > RequiredError.REQUIRED @ operations[0].operator] > > code is like this > > // Get the CampaignService. > $campaignService = $user->GetCampaignService('v200909'); > > $campaign = new Campaign(); > $campaign->id = 66995; > > // Create selector. > $operation = new CampaignOperation(); > $operation->operand = $campaign; > $operation->operator = 'DELETE'; > > // Get all campaigns. > $page = $campaignService->mutate($operation); > > Hoping for positive response from you.... > > reply me ASAP. > > Thanks > Raju Bishnoi -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
