HI Google Support Team,

This conversation is ask help for how to get 
CriterionId(segments.keyword.ad_group_criterion in Google Ads API) in 
Google Ads API.

we have Google AdWords query as below need migrate to Google Ads API:
select
Date
, CriterionId
, Id
, AdGroupId
, CampaignId
, AccountCurrencyCode
, Cost
, Clicks
, Impressions
, Device
, Interactions
, InteractionRate
from ad_performance_report

and Google Ads API query transfer as below:
select
segments.date,
segments.keyword.ad_group_criterion,
ad_group_ad.ad.id,
ad_group.id,
campaign.id,
customer.currency_code,
metrics.cost_micros,
metrics.clicks,
metrics.impressions,
segments.device,
metrics.interactions,
metrics.interaction_rate
from ad_group_ad
WHERE segments.date DURING LAST_7_DAYS

By data comparison we found  if include 
segments.keyword.ad_group_criterion, in select clause, it will led some 
records could not download. once we removed this field from select clause 
the data volume is very close between the data download from AdWords and 
Ads API.

As CriterionId is very important field we will used in downstream logic we 
need download this field as Google AdWords API. for my understanding field 
segments.keyword.ad_group_criterion should query from keyword_view? if yes 
could you please help guide how to map this field back to data feed 
download from ad_group_ad?

Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/12f0f0c8-5f83-44c3-9b8b-75b3ebc608fdn%40googlegroups.com.

Reply via email to