I'm currently working with the Google Ads API (v21) to programmatically set Life Events and Detailed Demographics targeting for Display campaigns. However, I'm encountering inconsistencies between the data returned by the API and what's actually targetable in ad groups.
Current Implementation For Detailed Demographics: *SELECT detailed_demographic.resource_name, detailed_demographic.availabilities, detailed_demographic.id, detailed_demographic.name, detailed_demographic.parentFROM detailed_demographicWHERE detailed_demographic.parent IS NOT NULL* For Life Events: *SELECT life_event.resource_name, life_event.id, life_event.name, life_event.parentFROM life_eventWHERE life_event.launched_to_all = TRUE* *Setting targeting on ad groups:* lifeEventAudiences?.forEach((lifeEventId) => operations.push(createCriterion({ lifeEvent: { lifeEventId } })) ); detailedDemographics?.forEach((extendedDemographicId) => operations.push(createCriterion({ extendedDemographic: { extendedDemographicId } })) ); *Problems Encountered* *Life Events:* 1. None of the values returned by my query are compatible with ad group targeting 2. The life_event.launched_to_all = TRUE filter doesn't seem to have any effect 3. The values I see in the Google Ads UI panel don't match what's returned by the API query *Detailed Demographics:* 1. Only a subset of returned values are actually targetable 2. I've excluded first-level parents, but there are more non-targetable categorical values scattered across different taxonomy levels 3. When using launched_to_all = TRUE, the query returns empty results 4. The list doesn't match what I see in the Google Ads UI panel *Questions* 1. Is there a reliable way to query only targetable Life Events and Detailed Demographics? 2. What's the recommended approach to filter out taxonomy-only categories that aren't meant for direct targeting? 3. Why is there a discrepancy between what's shown in the UI and what's returned by the API? Any guidance on the correct query structure to retrieve only the values that can be used for ad group targeting would be greatly appreciated. Thank you! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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 visit https://groups.google.com/d/msgid/adwords-api/b4306a5a-e7cc-4e08-9af5-dfe03731cdcfn%40googlegroups.com.