why i can't get my campaign in test account using google ads api?

441 views
Skip to first unread message

mais trum

unread,
Jul 2, 2020, 5:26:59 AM7/2/20
to AdWords API and Google Ads API Forum
Hi

i have try to build api call using google ads api, but when i try to call my campaign in my test account it result error.

this my Get request :

Header
Authorization : Bearer <Access_token>
developer-toke : <Developer-token>
login-customer-id : <my-mcc-test-account>

And my Error

{ "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v3.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "requestError": "RESOURCE_NOT_FOUND" }, "message": "Resource not found." } ] } ] } }

how i can fix it?
i success call this data use adwords api. i create manually because i call this from delphi, which there is no Library for delphi

Thanks

Google Ads API Forum Advisor Prod

unread,
Jul 6, 2020, 1:31:19 PM7/6/20
to maist...@gmail.com, adwor...@googlegroups.com
Hello,

Were the OAuth credentials you used created from the test mcc or test account level? If they weren't, you will need to create them from either those accounts. If they were, please reply privately to author your API request and response so I can take a closer look.

Regards,
Anthony
Google Ads API Team

ref:_00D1U1174p._5004Q21B5ZJ:ref
Reply all
Reply to author
Forward
0 new messages