Well , it didn't worked.
I have added Predicate to the selector - 

GA.v201209.Predicate statusPredicate = new GA.v201209.Predicate();
statusPredicate.field = "CampaignStatus";
statusPredicate.@operator = GA.v201209.PredicateOperator.EQUALS;
statusPredicate.values = new string[] { "DELETED" };
predicate.Add(statusPredicate);

And i was trying to get ad performance report with deleted campains. 
the report field were - "Id", "AdGroupId", "AdGroupName", "AdGroupStatus", 
"CampaignId", "CampaignName", "Impressions","Clicks", "Cost","Headline",
                                                   
"Description1","Description2", "KeywordId", 
"DisplayUrl","CreativeDestinationUrl","CampaignStatus","AccountTimeZoneId",
                                                   
"AdType","AccountCurrencyCode","Ctr","Status","AveragePosition","Conversions",
                                                   
"ConversionRate","ConversionRateManyPerClick","ConversionsManyPerClick","ConversionValue","TotalConvValue"

and i'v got zero results.

Please advise ,
Thanks, 
Shay.
 
On Friday, January 18, 2013 2:00:07 PM UTC+2, John Lister wrote:
>
> Yes, add a predicate of status in [active, paused, deleted], the default 
> is to not return deleted elements in reports
>
> John
>
> On Thursday, 17 January 2013 13:43:13 UTC, ShayBarChen wrote:
>>
>> Hey ,
>>
>> Is it possible to get Campign in status "deleted" 
>> in AD_PERFORMANCE_REPORT with the following fields included : 
>> "Id", "AdGroupId", "AdGroupName", "AdGroupStatus", "CampaignId", 
>> "CampaignName","CampaignStatus","Status".
>>
>> If it's possible , when it will be occurred ? 
>> ( Cause now I'm getting only : "active" or "paused" status of campaigns ) 
>>
>> Thanks in advance. 
>> Shay.
>>
>

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

--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to