Thanks for the details. 
One more question, is it possible that a Feed has two related FeedMappings 
at the same time, amogn which one is AD_CUSTOMIZER and another is 
DSA_PAGE_FEED? Thanks!

Best,
Dongqi


On Tuesday, July 2, 2019 at 10:15:44 PM UTC, adsapiforumadvisor wrote:
>
> Hi,
>
> In the Google Ads API, the *placeholder_type* and *criterion_type* fields 
> are *union* fields.
>
>
> https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.resources#google.ads.googleads.v2.resources.FeedMapping
>
> Therefore, a given instance of *feed_mapping* will have *either* 
> *placeholder_type* *or* *criterion_type*, but not both. Therefore, the 
> criteria of:
>
>     feed_mapping.criterion_type != 'DSA_PAGE_FEED' AND
>     feed_mapping.placeholder_type = 'AD_CUSTOMIZER'
>
> will never be satisfied by an instance of *feed_mapping*. If instead you 
> remove the first condition, you should only get back *feed_mapping* objects 
> with *placeholder_type = 'AD_CUSTOMIZER'*.
>
> Thanks,
> Josh, Google Ads API Team
>
> ref:_00D1U1174p._5001UBkn2x:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/65c9fa9a-0819-4652-bc5f-dee43382b319%40googlegroups.com.

Reply via email to