Are CampaignID's incremental?
I am performing a CustomerSyncService operation but don't want to download
the entire list of Campaign's each time. I was thinking of using the
MAX(CampaignID) from my previous sync as a predicate to only fetch *NEW*
campaigns since my last sync:
<?php
$max = '12345'; // saved from my last sync (saved in local db)
$selector->predicates []= new \Predicate('CampaignId', 'GREATER_THAN',
array($max));
?>
So only CampaignId's > 12345 would need to be pulled down, thoughts?
Brandon
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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