RE: get_campaigns, testing, GoogleAds, error: "Unauthorized CREATE operation in invoking a service's mutate method"

2021-01-22 Thread Google Ads API Forum Advisor Prod
Hi Дуршлаг, Thank you for reaching out. Could you please share the source code you used via the Reply privately to author option for us to further investigate? Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q2B2Bhn:ref -- -- =~=~=~=~=~=~=~

Re: get_campaigns, testing, GoogleAds, error: "Unauthorized CREATE operation in invoking a service's mutate method"

2021-01-21 Thread Дуршлаг Макаронин
[2021-01-22 07:38:48,844 - DEBUG] Making request: POST https://accounts.google.com/o/oauth2/token [2021-01-22 07:38:48,849 - DEBUG] Starting new HTTPS connection (1): accounts.google.com:443 [2021-01-22 07:38:49,048 - DEBUG] https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 N

Re: get_campaigns, testing, GoogleAds, error: "Unauthorized CREATE operation in invoking a service's mutate method"

2021-01-21 Thread Дуршлаг Макаронин
> > Thanks for answers. > Yes, I was wrong in my question. Of course I was trying to CREATE the > campaign, not GET it. =) > > Let's start simple, I'm using the add_campaign.py example. It has a > customer_id parameter. Which of my IDs should I use? > I have 3 accounts: > 659-129-2780 - customer

RE: get_campaigns, testing, GoogleAds, error: "Unauthorized CREATE operation in invoking a service's mutate method"

2021-01-21 Thread Google Ads API Forum Advisor Prod
Hi, In addition to my earlier response, I would recommend that you use a client account ID as the customer ID since campaigns are created and associated to client accounts and not to MCC/manager accounts. I hope this helps. Best regards, Peter Laurence Napa Oliquino Google Ads API Team ref:_0

RE: get_campaigns, testing, GoogleAds, error: "Unauthorized CREATE operation in invoking a service's mutate method"

2021-01-21 Thread Google Ads API Forum Advisor Prod
Hi, Since you mentioned that you wish to GET a list of campaigns, you can use this example instead. This is because the previous example that was being referred to was a call to a method which CREATEs campaigns. Should issues persist, you may enable logging by navigating to the Client librarie