Hi Remya, AdWords API doesn't allow you to deactivate an account. I guess your best bet is to pause all campaigns in the account under question. To pause campaigns, you can use CampaignService::get to get all campaigns, and then use CampaignService::mutate to update their status to paused. See the following code examples for more details on retrieving all campaigns, and updating a campaign.
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/GetAllCampaigns.php http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/UpdateCampaign.php Cheers, Anash P. Oommen, AdWords API Advisor. On Jan 13, 11:13 am, Remya <remyamoha...@gmail.com> wrote: > Hello Google Adwords Team, > > Myself a developer, i am using Google AdWords API service for my > application. I have few doubts regarding accounts. > > 1. > > How can i pause/inactive an account? > 2. > > Is there any API function available to do the pause account operation in > Google AdWords? > 3. > > I have few accounts under MCC, i need to pause few accounts among this. > How can i do? > > Can you please help me to solve these issues. > > -- > Remya Mohan > Software Engineer > > http://SparkSupport.com<http://www.google.com/url?sa=D&q=http://SparkSupport.com&usg=AFQjCNEs...> > |http://migrate2cloud.com<http://www.google.com/url?sa=D&q=http://migrate2cloud.com&usg=AFQjCNH...> > phone: +1 408-335-0493, 0484 2559756 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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-api@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