Hi Boris,
Thank you for reaching support. With regards to your concern, you could get the
IDs of custom audiences (custom intent, custom affinity) using the below
approaches.
You could use the AdGroupCriterionService.get() to pull these details. The
AdGroupCriterion will contain the information for CriterionCustomAffinity and
CriterionCustomIntent criterion. Please find the sample selector query and
example below:
SelectorBuilder builder = new SelectorBuilder();
Selector selector = builder.fields(AdGroupCriterionField.values())
.equals(AdGroupCriterionField.CriteriaType, "CUSTOM_INTENT")
.build();
Here is an example:
'criterion': {
'id': 8xx4xxx87xx3,
'type': 'CUSTOM_INTENT',
'Criterion.Type': 'CriterionCustomIntent',
'customIntentId': 3xxx9xx3
}
The Audience Performance Report will return the corresponding custom intent Id
and the audience name using the Criteria.
Let us know if you need additional information.
Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UHFDOf: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/kJuU2000000000000000000000000000000000000000000000PX26ER00AnIkiO5bTsa_lI5dXM-cbQ%40sfdc.net.