Permission denied (Google Ads API)

122 views
Skip to first unread message

高嶋葵

unread,
Nov 13, 2019, 8:34:09 PM11/13/19
to AdWords API and Google Ads API Forum
Hello.

I am currently migrating from AdwordsAPI to GoogleAdsAPI.
'CreateCustomer' succeeded in test account.

However, due to a permision error, 'GetCampaigns' cannot succeed.
```
message: "{
    "message": "The caller does not have permission",
    "code": 7,
    "status": "PERMISSION_DENIED",
    "details": [
        {
            "@type": "google.ads.googleads.v2.errors.googleadsfailure-bin",
            "data": "<Unknown Binary Data>",
            {
                "@type": "grpc-status-details-bin",
                "data": "<Unknown Binary Data>"
            },
            {
                "@type": "request-id",
                "data": "UaS6TmrXdr_hTfa-_H5Pmw"
            }
        }
    ]
}
```

Thanks for your help.

Best regards

Google Ads API Forum Advisor Prod

unread,
Nov 14, 2019, 11:10:38 AM11/14/19
to taka...@weddingpark.co.jp, adwor...@googlegroups.com

Hi,

 

Thank you for reaching out. Please make sure you are calling GetCampaigns from a client account, not a manager account. If you are still getting an error after doing this, please provide the client customer ID you are using to make the call and the complete request and response logs via reply privately to author so that I can investigate the issue further. Please see here for information on how to enable logging.

 

Regards,

Mitchell

Google Ads API Team



ref:_00D1U1174p._5001UJahYp:ref

高嶋葵

unread,
Nov 18, 2019, 8:06:16 PM11/18/19
to AdWords API and Google Ads API Forum
Thank you your help.

I replied to you directly.

1) RequestLog
2) ResponseLog
3) AdManager ID (Test Account)
4) Client ID (Test Account)

Did the email that I sent the other day arrive? 

Thanks,
Aoi Takashima

Google Ads API Forum Advisor Prod

unread,
Nov 19, 2019, 11:11:53 AM11/19/19
to taka...@weddingpark.co.jp, adwor...@googlegroups.com
Hi Aoi,

Would you be able to re-send the complete XML request and response logs along with the configuration file  via Reply privately to author? Please set the logging level to DEBUG. Thank you!
Reply all
Reply to author
Forward
0 new messages