hi just to let you know: in the docs it says: Note: to REMOVE use SET and mark status to DELETE. see: http://code.google.com/intl/de-DE/apis/adwords/v2009/docs/reference/CampaignService.html
but it should state: DELETED that is misleading, isnt it? On 19 Feb., 22:00, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > 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 > thecampaignto DELETED using the SET operator. > > http://code.google.com/apis/adwords/v2009/docs/reference/CampaignServ... > > Best, > - Eric Koleda, AdWords API Team > > On Feb 18, 6:03 am, "freesystems.t...@gmail.com" <adwo...@kutenda.com> > wrote: > > > > > Hi, > > > I am integrating the new version of google adwords v2009. > > hereremovecampaignis 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= newCampaign(); > > $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 adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.