Thank you for clarifying!

El martes, 1 de noviembre de 2016, 18:58:28 (UTC+1), Shwetha Vastrad 
(AdWords API Team) escribió:
>
> Hi,
>
> There is no straightforward way to get all enabled campaigns with less 
> than 100 remarketing users. If you just want to get all enabled campaigns, 
> you can use CampaignService 
> <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignService>
>  as 
> shown here 
> <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201609/BasicOperations/GetCampaigns.php>
>  using 
> a predicate to filter for ENABLED campaigns. A campaign's state indicates 
> if it is active or not. 
>
> When you use remarketing lists for targeting, you are essentially creating 
> CampaignCriterion or AdGroupCriterion of type USER_LIST 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.CriterionUserList>.
>  
> You need to use AdwordsUserListService 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdwordsUserListService>
>  to 
> first retrieve the UserLists with size as 0. You can then query for data 
> from Audience Performance Report 
> <https://developers.google.com/adwords/api/docs/appendix/reports/audience-performance-report>
>  using 
> the following query and use the UserList names obtained above in the 
> predicate:
>
> SELECT Id, UserListName, AdGroupId, CampaignId FROM 
> AUDIENCE_PERFORMANCE_REPORT WHERE CampaignStatus = 'ENABLED' AND 
> UserListName IN [userList_names]
>
> Let me know if this works. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7b4570d7-0e0d-44d5-9e8b-e61c74bd6887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to