tks for reporting error
On Monday, December 30, 2019 at 4:50:16 AM UTC+7, Nils So wrote:
>
> I'm trying to fetch the audiences (Custom intent, Custom affinity) of all
> my enabled google display campaigns.
>
>
> I thought I can get it through the CampaignCriterionService, but the
> returned data is empty.
>
>
> campaign_criterion_service = ADWORDS_CLIENT.GetService(
> 'CampaignCriterionService', version='v201809')
>
> selector = {
> 'fields': ['CampaignId', 'Id', 'CriteriaType', "PlacementUrl",
> 'KeywordText', "ChannelName", "AppId", "DisplayName",
> "CampaignStatus", "CampaignName"],
> 'predicates': [{
> 'field': 'CriteriaType',
> 'operator': 'IN',
> 'values': [
> 'CUSTOM_AFFINITY',
> 'CUSTOM_INTENT'
> ]
> },
> {
> 'field': 'CampaignStatus',
> 'operator': 'IN',
> 'values': [
> 'ENABLED'
> ]
> }
>
>
> ],
> 'paging': {
> 'startIndex': 0,
> 'numberResults': 500
> }
> }
>
> page = campaign_criterion_service.get(selector)
>
> Can someone give me some pointers? Highly appreciated.
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9d42870c-1d28-4de8-96bc-780cb9c0f55c%40googlegroups.com.