UAC Campaign

72 views
Skip to first unread message

Kartik

unread,
Mar 31, 2020, 6:09:27 AM3/31/20
to AdWords API and Google Ads API Forum
I have been trying to fetch the data for UAC campaigns while fetching that I'm unable to get the target_cpa.
Whereas, I can see the value of target_cpa in the UI.

I tried with adding the target_cpa in the query but didn't work.
Below is the query for reference:

query = ("""SELECT
ad_group.target_cpa_micros
,ad_group.cpm_bid_micros
,ad_group.cpc_bid_micros
,ad_group.id
,ad_group.name
,campaign.advertising_channel_sub_type
,campaign.id
,campaign.name
,customer.descriptive_name
,customer.currency_code
,customer.id
,customer.time_zone
,metrics.clicks
,metrics.conversions
,metrics.all_conversions
,metrics.conversions_value
,metrics.cost_micros
,metrics.impressions
,metrics.view_through_conversions
,segments.ad_network_type
,segments.date
FROM ad_group
WHERE segments.date > '{}' AND segments.date < '{}'
AND campaign.advertising_channel_sub_type = 'APP_CAMPAIGN'""".format(
start_range, end_range))
header_list = ['ad_group.target_cpa_micros', 'ad_group.cpm_bid_micros', 'ad_group.cpc_bid_micros',
'ad_group.id', 'ad_group.name', 'campaign.advertising_channel_sub_type',
'campaign.id',
'campaign.name', 'customer.descriptive_name', 'customer.currency_code', 'customer.id',
'customer.time_zone', 'metrics.clicks', 'metrics.conversions',
'metrics.all_conversions', 'metrics.conversions_value', 'metrics.cost_micros',
'metrics.impressions', 'metrics.view_through_conversions', 'segments.ad_network_type',
'segments.date']

Google Ads API Forum Advisor Prod

unread,
Mar 31, 2020, 10:17:42 AM3/31/20
to gupta....@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out. As explained here, UAC reporting is not currently available at the ad group level which is why you can't see the ad group target cpa. You have to get UAC attributes from the campaign level.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UZVLQM:ref

Kartik

unread,
Mar 31, 2020, 12:09:19 PM3/31/20
to AdWords API and Google Ads API Forum
Hi Mitchell,

We were able to get the cpm and cpc from adgroups. How this is possible then?

Regards,
Kartik

Google Ads API Forum Advisor Prod

unread,
Apr 1, 2020, 9:13:45 AM4/1/20
to gupta....@gmail.com, adwor...@googlegroups.com
Hi Kartik,

Can you please share your client customer ID and downloaded report via Reply privately to author so that I can further investigate?
Reply all
Reply to author
Forward
0 new messages