In sinle API call for campaign reports where some of the accounts Schema mismatch

19 views
Skip to first unread message

Importer Neo

unread,
Feb 1, 2022, 11:19:44 AM2/1/22
to Google Ads API and AdWords API Forum
Hi,

I did a single API request to get campaign report for multiple accounts. Please see below my query. I provided close to 25 accounts . Out of that 2 accounts schema order is coming in different way  than expected order. Please see below query and schema details.

Query :
select
segments.date,customer.descriptive_name,campaign.id,campaign.name,metrics.cost_micros,metrics.impressions,metrics.clicks,metrics.absolute_top_impression_percentage FROM campaign

Expected schema  order for this query : customer.resourceName, customer.descriptiveName, campaign.resourceName ,campaign.name ,campaign.id, metrics.clicks, metrics.cost,Micros metrics.absoluteTopImpressionPercentage, metrics.impressions, segments.date

Mismatched Schema order for 2 accounts. customer.resource Name, customer.descriptiveName ,campaign.resourceName, campaign.name, campaign.id metrics.clicks, metrics.cost,Micros metrics.impressions, segments.date, metrics.absoluteTopImpressionPercentage

Please provide some help on that why these accounts schema order is different than other accounts. Let me know any additional details needed from my side.

Thank you,
Sri devi.

Google Ads API Forum Advisor

unread,
Feb 2, 2022, 2:57:18 AM2/2/22
to impo...@neomediaworld.com, adwor...@googlegroups.com
Hi Sri,

Thank you for reaching out. 

So that our team may take a closer look at the issue you observed with the schema, could you share the complete request and response logs, and the request-id, generated from those two accounts' reports, and also the login-customer-id you specified in your request?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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