Hi Panks,

You may want to try using the CustomerSyncService, which given a date-
time range will tell you which entities have changed:

  
http://code.google.com/apis/adwords/docs/reference/latest/CustomerSyncService.html

If it doesn't report any account changes then you could skip fetching
the report.  Do keep in mind that report statistics (clicks,
impressions, etc) will change over the course of the day and may have
small corrections for a few days afterwards to remove spam clicks,
etc.

Best,
- Eric Koleda, AdWords API Team

On Oct 31, 2:59 pm, Panks <pankaj....@googlemail.com> wrote:
> Hi Anash,
> Thanks for the reply.
>
> But my major concern is to make sure that the custmor hasn't done any
> changes in his account since the last time, I fetched the report.
> Is there are way.
> By comparing two reports seems a bit impossible because reports might
> not be for the same date range, and It could have staggered entities
> from previous days.
>
> Any pointers, how to avoid the whole effort, if user haven't done any
> changes in his account ??
>
> Thanks
> Panks
>
> On Oct 27, 9:29 am, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
>
>
>
>
>
>
> > Hi Panks,
>
> > You need to do an xml comparison, since the reporting doesn't offer a
> > provision for sorting the records, and hence does not guarantee order
> > of records.
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.
>
> > On Oct 26, 10:14 pm, Panks <pankaj....@googlemail.com> wrote:
>
> > > In my application, I do some aggregation on all entities of account
> > > report and store the aggregated data (campaign, keywords, adgroups)
> > > for a day, hour, and many more grain sizes into my database.
>
> > > I have a few hundred customer accounts for which I want to produce
> > > this data and the database operations are quite slow.
>
> > > What I want -   Is to bypass the whole process if there is no change
> > > from customer's side.  Is it possible to compare the current report
> > > with the one I had requested, say, 1 hour ago.
>
> > > 1. can I simply do string comparison
> > > 2. or Compare each row if the order of rows is jumbled
>
> > > The report is in XML format.
>
> > > Thanks in advance
>
> > > Panks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to