Hi Google Ads API Team,
I have an
Google Ads Account with an master account and some subaccounts. In the past all
campaigns ran on the master account. But now I want the cost to be more
specific so I transferred some campaigns to an subaccount.
When I try to download the “SHOPPING_PERFORMANCE_REPORT” I only get empty data like --, --, --, --, --, --, 0 ,-- and so on. I don’t receive error messages or so.
I have done this before with another subaccount and it worked perfectly. So it should actually work, but it doesn’t.
The params are:
{
'reportName': 'Custom SHOPPING_PERFORMANCE_REPORT',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'SHOPPING_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['AccountDescriptiveName',
'AdGroupId',
'AdGroupName',
'AdGroupStatus',
'AdNetworkType1',
'AdNetworkType2',
'CampaignId',
'CampaignName',
'CampaignStatus',
'Clicks',
'Cost',
'Date',
'Device',
'ExternalCustomerId',
'Impressions',
'MerchantId',
'OfferId',
'SearchAbsoluteTopImpressionShare',
'SearchClickShare'],
'dateRange': {*date of yesterday*,
*date of yesterday*}
}
Request Summary: {'includeZeroImpressions': 'False', 'skipReportSummary': 'False', 'skipColumnHeader': 'False', 'clientCustomerId': 'xxx-xxx-xxxx (the client customer id of the subaccount)', 'skipReportHeader': 'True', 'server': 'adwords.google.com', 'isError': False}
Response: Account,Ad group ID,Ad group,Ad group state,Network,Network (with search partners),Campaign ID,Campaign,Campaign state,Clicks,Cost,Day,Device,Customer ID,Impressions,MC Id,Item Id,Search abs. top IS,Click shareTotal, --, --, --, --, --, --, --, --,0 …
Do I have to change some settings in Google Ads account? I think settings are identical to the account that works.
Can you please help?
Kind regards,
Simon
Hi Simon,
Thank you for reaching out. When you query on the campaigns from the child accounts please specify the child account client customer id rather than the manager account id. Please try it again and let me know if the issue persists.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Hi Simon,
Thank you for reaching out. Could you please share the complete request and response logs along with client customer id via the Reply privately to author option for us to further investigate?
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||