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 [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 
"AdWords API and Google Ads 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/MI5Hd000000000000000000000000000000000000000000000PU1CHX00PqX42dZVRrGcoIS4SLCvwQ%40sfdc.net.

Reply via email to