Hi Jim, 

The Campaign Performance Report 
<https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report>
 will 
include all the campaigns that match the filter specified in the report 
definition and provide performance statistics for the DateRange specified. 
To get the campaigns which only existed before today, please follow these 
steps:

   1. Perform a CustomerSyncService.get() 
   
<https://developers.google.com/adwords/api/docs/reference/v201702/CustomerSyncService#get>
 request 
   to get the campaigns changed in the last 24 hours. If the 
   CampaignChangeStatus 
   
<https://developers.google.com/adwords/api/docs/reference/v201702/CustomerSyncService.CampaignChangeData#campaignchangestatus>
 is 
   NEW then this campaign was created during the dateRange specified. Store 
   these campaignIds.
   2. Add a predicate to your report definition to exclude these campaigns 
   from the report. The filter should look like this:
   WHERE CampaignId NOT_IN [list of campaign IDs from step 1]

This way you'll only get the campaigns which were created before the last 
24 hours. The GetAccountChanges 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/accountmanagement/GetAccountChanges.java>
 Java example shows how to get the changes in the account during the last 
24 hours using CustomerSyncService. Example code in other languages is 
provided here 
<https://developers.google.com/adwords/api/docs/clientlibraries>.

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/78889c7e-7a1a-40d4-8c3c-0e7ff10d3aa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Performance Rep... Jim Malone
    • Re: Perfor... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to