select account from MCC

2014-12-16 Thread Rodrigo Munoz
Hi I already connect my MCC accont through API, I can get reports without any problems. But when I try to call any mutate service, like change adgroup status, I have that error: AdwordsApi::V201406::AdGroupService::ApiException: [EntityNotFound.INVALID_ID @ operations[0].operand.id;

Re: select account from MCC

2014-12-16 Thread Danial Klimkin
Hello Rodrigo, You need to send the correct customer ID in the clientCustomerId SOAP header as per: https://developers.google.com/adwords/api/docs/guides/soap -Danial, AdWords API Team. On Tuesday, December 16, 2014 3:07:58 PM UTC+3, Rodrigo Munoz wrote: Hi I already connect my MCC

Re: select account from MCC

2014-12-16 Thread Rodrigo Munoz
Hi Danial, Thanks a lot for yhisour quick response. I'm working on RoR. Do you know how can I modify the clientCustomerId SOAP header in rails?? I'm trying with: credentials = adwords_api.credential_handler() credentials.set_credential(:client_customer_id, 173-868-) But I can see that

Re: select account from MCC

2014-12-16 Thread Danial Klimkin
How do you make the call? -Danial. On Tuesday, December 16, 2014 5:53:06 PM UTC+3, Rodrigo Munoz wrote: Hi Danial, Thanks a lot for yhisour quick response. I'm working on RoR. Do you know how can I modify the clientCustomerId SOAP header in rails?? I'm trying with: credentials =

Re: select account from MCC

2014-12-16 Thread Rodrigo Munoz
Hi Daniel I alredy solve it with your tip. :) I'll post the call for others... def adwords_api_for (account_id) api = AdwordsApi::Api.new(Settings[:adwords_api]) api.credential_handler().set_credential(:client_customer_id, account_id) return api end Thnks