Hi Bikram,

You can use predicates to filter out deleted ads, please see the definition 
section in the guide:

  https://developers.google.com/adwords/api/docs/guides/reporting

The predicate you are looking for would be like:

<predicates>
  <field>Status</field>
  <operator>IN</operator>
  <values>ENABLED</values>
  <values>PAUSED</values>
</predicates>


-Danial, AdWords API Team.


On Wednesday, January 22, 2014 9:30:21 PM UTC+4, Bikram Bhuyan wrote:
>
> Hi Danial,
>
> Thanks a lot for the response. I wanted to match my report with the report 
> information which are shown in the google adwords UI screens. I guess the 
> UI must not be showing the deleted ads I guess. If this is the case could 
> you please let me know how to exclude the deleted ads (current data) from 
> the AD_PERFORMANCE_REPORT. From my observation I see that Ad Performance 
> report is returning deleted ads by default where as GetAd calls does not.
>
> I wanted to sync the data with respect to google adwords UI. So please 
> suggest what should I do now.
>
> Thanks,
> Bikram,
>
> On Wednesday, January 22, 2014 3:20:44 AM UTC-8, Danial Klimkin wrote:
>>
>> Hello Bikram,
>>
>>
>> The report you are requesting is for date range of Jan 1, 2013-Feb 1, 
>> 2013. The ads you are getting back are now deleted and not returned by 
>> service by default.
>>
>> You need to either request for current data, or add a predicate to 
>> include deleted ads as well.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, January 21, 2014 9:44:51 PM UTC+4, Bikram Bhuyan wrote:
>>>
>>> Hi Danial,
>>>
>>> Thanks a lot for your response. When I run my program to fetch the Ads 
>>> for this group id, I am getting 49 rows returned by query. I am using AWQL 
>>> and below if the query I am firing.
>>>
>>> SELECT Id, Url, DisplayUrl, Type, Status WHERE AdGroupId = 1301383813 
>>> ORDER BY Id
>>>
>>> In the output of this result I dont see the following AdIds which are 
>>> returned by my report service based on my previous email. Could you please 
>>> suggest what am I doing wrong.
>>>
>>> These are the ad ids which are returned by the report service where as 
>>> it is not returned in the above call  (3107387353, 3107388613, 3107389063, 
>>> 18108856933, 18108885133, 18108888493)
>>>
>>> Thanks,
>>> Bikram.
>>>
>>> On Tuesday, January 21, 2014 3:03:03 AM UTC-8, Danial Klimkin wrote:
>>>>
>>>> Hello Bikram,
>>>>
>>>>
>>>> What are you comparing these IDs to? I've checked AdGroup 1301383813 
>>>> and I see ads with the IDs listed under it.
>>>>
>>>>
>>>> -Danial, AdWords API Team.
>>>>
>>>>
>>>> On Saturday, January 18, 2014 5:35:22 AM UTC+4, Bikram Bhuyan wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> We are fetching the Stats from the "Ad Performance Report" based on a 
>>>>> particular date range. What we found out is that the output which I got 
>>>>> from the report (in XML format) contains AdId which does not exists in 
>>>>> the 
>>>>> system where as the campaign id and ad group id matches good.
>>>>>
>>>>> I can provide more details if you need by not sure how to validate it.
>>>>>
>>>>> Attached is the sample XML response we got for the "Ad Performance 
>>>>> Report". 
>>>>>
>>>>> Let me know if you need any specific input on our account and I can 
>>>>> send you in email.
>>>>>
>>>>> Thanks,
>>>>> Bikram.
>>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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