Hello,
I have a list of campaign ID's and I need to download the campaign
performance report for them
Here is my code:
campaign_performance_report = [(adwords.ReportQueryBuilder()
.Select('Date', 'CampaignId',
'AdNetworkType2',
'Impressions', 'Clicks',
'Ctr', 'AverageCpc', 'Cost',
'Conversions',
'ConversionRate', 'AllConversionValue', 'ClickAssistedConversions',
'AveragePosition',
'CampaignStatus')
.From('CAMPAIGN_PERFORMANCE_REPORT')
.Where('CampaignStatus').In('ENABLED', 'PAUSED')
.During('YESTERDAY')
.Build()),
# report name
"campaign_performance_report",
# report zerp imp
False]
Do I need to run that through a loop and specify the campaignID as my Where
argument?
I don't want to download the reports for my entire account.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/32154fce-075e-4122-893f-2e94cc2e15ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.