Hi,

Is it mandatory to use WHERE CampaignStatus 
<https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report#campaignstatus>
 = 
'REMOVED'  now for this purpose? I just checked without this WHERE 
statement and my curl request returned me data with Campaign state == 
REMOVED. Also do you have any documentation about this?

Here is my curl:

curl --http1.1 \
    --header "Authorization : Bearer {token}" \
    --header "developerToken : {developerToken}" \
    --header "includeZeroImpressions: false" \
    --header "clientCustomerId : {clientCustomerId}" \
    --data "__rdquery=SELECT Impressions, AdNetworkType1, Conversions, 
EffectiveFinalUrl, CampaignId, Device, CampaignName, Clicks, VideoViews, 
Cost, Date, InteractionTypes, AdGroupStatus FROM FINAL_URL_REPORT WHERE 
CampaignId={CampaignId} DURING+20190708,20190708&__fmt=CSV" \
    https://adwords.google.com/api/adwords/reportdownload/v201809





On Tuesday, October 8, 2019 at 7:19:05 PM UTC+3, adsapiforumadvisor wrote:
>
> Hi Michael,
>
> Thank you for reaching out. Yes, it is possible to pull data from REMOVED 
> campaigns using reports 
> <https://developers.google.com/adwords/api/docs/guides/reporting>. In you 
> AWQL 
> <https://developers.google.com/adwords/api/docs/guides/awql>statement, 
> use WHERE CampaignStatus 
> <https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report#campaignstatus>
>  
> = 'REMOVED'  to get data from removed campaigns.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UKMZVv:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/23ad88b3-b245-4d8b-b04b-7cf3a646dd8b%40googlegroups.com.

Reply via email to