Hi,

We are finding that we cannot retrieve data on paused campaigns in some 
performance reports. Using the following query (python dict notation):

geo_q = {
    'reportName': 'Missing Paused Campaigns',
    'dateRangeType': 'CUSTOM_DATE',
    'reportType': 'GEO_PERFORMANCE_REPORT',
    'downloadFormat': 'CSV',
    'selector': {
        'fields': ['Date', 'CountryCriteriaId', 'CampaignName', 
'CampaignStatus'],
        'dateRange': {
            'min': '20171001',
            'max': '20171231',
        },
        'predicates': [
            {
                'field': 'CampaignStatus',
                'operator': 'IN',
                'values': ['PAUSED', 'REMOVED']
            },
        ],
    },
}

Where we have data visible in the UI for some paused campaigns, we only get 
results for our removed campaigns.

Meanwhile, if we request a Campaign Performance Report over the same date 
range, we *do* get our paused campaigns:
campaign_q = {
    'reportName': 'Missing Paused Campaigns',
    'dateRangeType': 'CUSTOM_DATE',
    'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
    'downloadFormat': 'CSV',
    'selector': {
        'fields': ['Date', 'CampaignName', 'CampaignStatus'],
        'dateRange': {
            'min': '20171001',
            'max': '20171231',
        },
        'predicates': [
            {
                'field': 'CampaignStatus',
                'operator': 'IN',
                'values': ['PAUSED', 'REMOVED']
            },
        ],
    },
}

Using the above definitions, we loaded the results into dataframes:
geo = pd.read_csv(rd.DownloadReportAsStream(geo_q, skip_report_header=True, 
skip_report_summary=True))
camp = pd.read_csv(rd.DownloadReportAsStream(camp_q, skip_report_header=True
, skip_report_summary=True))
print(set(geo['Campaign state']))
print(set(camp['Campaign state']))

# output:

# {'removed'}
# {'removed', 'paused'}


We're just curious to know if this is a bug or if for some reasons some 
reports are simply not available for paused campaigns while they are 
available for removed campaigns.

Best,
PI.X

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads 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/cb57f1fb-79d6-432f-b409-bbdd3ac03771%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... PI.X
    • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... PI.X
        • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... PI.X
            • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to