I following way to get records from ad words
startdate = 2012-11-01
endDate = 2017-06-06
while (startDate < endDate)
{
reportDate = startDate.tostring("yyyyMMdd");
string query = "SELECT " +
"CampaignName, AdGroupName, Criteria,
CpcBid, Impressions, Clicks,Conversions,Cost " +
"FROM PLACEMENT_PERFORMANCE_REPORT " +
"WHERE AdNetworkType1 = 'CONTENT' " +
// 'CONTENT' indicated only Display Networks
"DURING " + reportDate + ", " +
reportDate ;
//perform some logic
startDate.AddDays(-1);
}
above code is now creating issue like report request exceeded
-----------------------------------------------------------------------------------------------------------------------------------------------------------
i want to do is perform above code like this
if(startDate<EndDate)
{
reportStartDate = startDate.tostring("yyyyMMdd");
reportEndDate = startDate.tostring("yyyyMMdd");
string query = "SELECT " +
"CampaignName, AdGroupName, Criteria,
CpcBid, Impressions, Clicks,Conversions,Cost " +
"FROM PLACEMENT_PERFORMANCE_REPORT " +
"WHERE AdNetworkType1 = 'CONTENT' " +
// 'CONTENT' indicated only Display Networks
"DURING " + reportStartDate + ", " +
reportEndDate ;
//perform some logic
}
code sample 1 gives no of record 101841
code sample 2 gives no of record 11181
how can i achieve data accuracy in 2nd sample
Regards,
Jaydeep More
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a1e00b9b-7e6a-409a-b19a-6fdf4da598f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.