[Google Ads API] How to verify Campaign belong to my account?

27 views
Skip to first unread message

Phongthorn Khamkankaew

unread,
Nov 13, 2019, 5:19:15 AM11/13/19
to AdWords API and Google Ads API Forum
I try to test the Google Ads API after approval developer token. So I try to get a Campaign list, but return an empty response.
So I follow from 2 topics below:


Maybe all of the Campaigns that not belong to my account.
But how can I check and grant permission to see a report from all campaigns?

Please help us?
My MCC ID: 561-XXX-XXXX

Google Ads API Forum Advisor Prod

unread,
Nov 13, 2019, 12:16:12 PM11/13/19
to nroht...@gmail.com, adwor...@googlegroups.com

Hi Phongthorn,

Thanks for reaching out. If you request on a customerId which does not contain any campaigns you would get an empty campaign list. You could use theManagedCustomerService to get all the accounts under the MCC manager account. Then with a specific clientCustomerId in the request header you would be able to query a report on this specific customer account.

Thanks and regards,
Xiaoming, Google Ads API Team



ref:_00D1U1174p._5001UJaVtn:ref

Phongthorn Khamkankaew

unread,
Nov 13, 2019, 10:22:26 PM11/13/19
to AdWords API and Google Ads API Forum
Hi Xiaoming,



เมื่อ วันพฤหัสบดีที่ 14 พฤศจิกายน ค.ศ. 2019 0 นาฬิกา 16 นาที 12 วินาที UTC+7, adsapiforumadvisor เขียนว่า:

Google Ads API Forum Advisor Prod

unread,
Nov 14, 2019, 11:38:42 AM11/14/19
to nroht...@gmail.com, adwor...@googlegroups.com

Hi Phongthorn,

You could use the CAMPAIGN_PERFORMANCE_REPORT to retrieve all the campaign data on the campaign level in the specified customer account. Please let me know if you have any further concerns.



Thanks and regards,
Xiaoming, Google Ads API Team



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