How to get the metrics of multiple campaigns related different client accounts using api

17 views
Skip to first unread message

sudhakar dadi

unread,
May 19, 2020, 10:16:25 AM5/19/20
to AdWords API and Google Ads API Forum
Hi Team,

Currently I am using below api to get the metrics of a campaign

Url: https://googleads.googleapis.com/v2/customers/<CLIENT_ACCOUNT_ID>/googleAds:search
Body: { "query" : "SELECT metrics.clicks, metrics.impressions, metrics.active_view_impressions FROM campaign WHERE campaign.id =<CAMPAIGN_ID>" }

How can I get the metrics of multiple campaigns related to different client id's but single manager account id?

Thanks in advance.

Regards
Sudhakar


Google Ads API Forum Advisor Prod

unread,
May 19, 2020, 3:28:39 PM5/19/20
to sudhaka...@gmail.com, adwor...@googlegroups.com
Hi Sudhakar,

Thank you for reaching out. Unfortunately, it is not possible to pull data on campaigns by using a manager account ID. In order to pull data for campaigns, you must use the customer ID of the account in which the campaigns belong to. 

Let me know if you have any additional questions.

Regards,
Danica Calusin, Google Ads API Team 

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