Listing Test Manager Account Campagins

25 views
Skip to first unread message

Hero Team

unread,
Sep 19, 2024, 9:51:10 AM9/19/24
to Google Ads API and AdWords API Forum
Hi, my ID is 738-605-8137 and this is a Test Manager Account

I created an account in this manager account, and created a campaign. I verify that in the top right corner I see a red "TEST ACCOUNT" badge.

I created this campaign and for some reason it is undergoing policy review, but I'm confused since this is a test and won't actually be serving?

Secondly, I used the API to list campaigns under this account but was unable to see it in the list?

Could some one clarify if I have to use the ID of the account that created the campaign, or just the manager account that.. manages those accounts?

Thanks,

Google Ads API Forum Advisor

unread,
Sep 19, 2024, 10:35:20 AM9/19/24
to he...@herospace.app, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Please find the following answers to your questions:

1) I created this campaign and for some reason it is undergoing policy review, but I'm confused since this is a test and won't actually be serving?

Yes, the campaigns created under the test account won't be serving because test accounts can't serve ads or interact with your production accounts in any way, serving metrics -- like impressions, conversions, or cost data -- are empty. For more information, you may check the test account document. 

2) Secondly, I used the API to list campaigns under this account but was unable to see it in the list?

This is because the provided account '738-605-8137 ' is a manager account. The metrics cannot be requested for a manager account (MCC).

Please see the sample query below for reference: 

SELECT campaign.id, campaign.name, campaign.status, metrics.clicks, metrics.impressions, metrics.conversions, metrics.ctr, metrics.cost_micros FROM campaign

3) Could some one clarify if I have to use the ID of the account that created the campaign, or just the manager account that.. manages those accounts?

You cannot use a manager account ID to retrieve the metrics. To retrieve metrics, you need to issue separate requests against each client account under the manager account. This means making individual API requests to retrieve data for each client account managed under a manager account in Google Ads. This is the default approach and is preferred for efficient data retrieval.

I've successfully replicated the above query on my end and managed to retrieve the data for the client customer ID '886-802-1894'. I recommend you attempt to make a request using one of the following methods: GoogleAdsService.SearchStream or GoogleAdsService.Search endpoint, by passing in the customer ID '8868021894' and the login customer ID as '7386058137'.

I hope this helps! Let us know if you have any further questions. 
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGM34:ref" (ADR-00268774)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages