Re: PHP Get active campaigns with less than 100 remarketing users

2016-11-07 Thread Marketing X
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 
> 
>  as 
> shown here 
> 
>  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 
> .
>  
> You need to use AdwordsUserListService 
> 
>  to 
> first retrieve the UserLists with size as 0. You can then query for data 
> from 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 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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.


Re: PHP Get active campaigns with less than 100 remarketing users

2016-11-01 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
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 

 as 
shown here 

 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 
.
 
You need to use AdwordsUserListService 

 to 
first retrieve the UserLists with size as 0. You can then query for data 
from 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 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/410e1196-d92b-48ff-899b-9ac947dbd5c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Get active campaigns with less than 100 remarketing users

2016-11-01 Thread Marketing Xilon
Hi Shwetha,

I'm afraid I'm a little confused about your explanation.

"You could use AdwordsUserListService 

 to 
retrieve the list of remarketing lists with size as zero, and then retrieve 
CampaignCriterion and AdGroupCriterion associated with these UserLists 
using predicates via CampaignCriterionService 

 and AdGroupCriterionService 

 respectively"

What exactly may I get retrieving CampaignCriterion and AdGroupCriterion?

"You can retrieve the associated CampaignIds and their states"

Why should I need the states of the campaigns?

Thanks!

El lunes, 31 de octubre de 2016, 20:08:20 (UTC+1), Shwetha Vastrad (AdWords 
API Team) escribió:
>
> Hi,
>
> For a CrmBasedEmailList 
> , 
> the user list size will show as zero until the list has at least 1,000 
> members. You could use AdwordsUserListService 
> 
>  to 
> retrieve the list of remarketing lists with size as zero, and then retrieve 
> CampaignCriterion and AdGroupCriterion associated with these UserLists 
> using predicates via CampaignCriterionService 
> 
>  and AdGroupCriterionService 
> 
>  respectively. 
> You can retrieve the associated CampaignIds and their states. The code 
> samples available here 
> 
>  provide 
> examples of basic operations using AdWords API PHP client library. 
>
> I hope this helps. 
>
> 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 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/c24a4cfb-70ac-4ccc-9b75-e6a46ec9e02b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Get active campaigns with less than 100 remarketing users

2016-10-31 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

For a CrmBasedEmailList 
, 
the user list size will show as zero until the list has at least 1,000 
members. You could use AdwordsUserListService 

 to 
retrieve the list of remarketing lists with size as zero, and then retrieve 
CampaignCriterion and AdGroupCriterion associated with these UserLists 
using predicates via CampaignCriterionService 

 and AdGroupCriterionService 

 respectively. 
You can retrieve the associated CampaignIds and their states. The code 
samples available here 

 provide 
examples of basic operations using AdWords API PHP client library. 

I hope this helps. 

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 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/1e229c32-34ba-4625-a0e1-614edde5fa9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PHP Get active campaigns with less than 100 remarketing users

2016-10-31 Thread Marketing Xilon
Hello,

Using PHP, how can I get the list of et active campaigns with less than 100 
remarketing users?

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/bf99f3b0-db15-41c8-ad15-aa7281508c90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.