Cool, thanks for looking at this David!
On Tuesday, November 20, 2012 8:29:45 AM UTC-8, David Torres wrote:
>
> Hi Sanjay,
>
> As you noticed the filtering by CreativeApprovalStatus only works on
> certain conditions and actually not filtering the way you expect, that is
> why I recommend you not using it.
>
> Best,
>
> - David
>
> On Friday, November 16, 2012 8:51:45 PM UTC-5, Sanjay J wrote:
>>
>> I think that CreativeApprovalStatus filtering works under certain
>> conditions for me, and in fact have been using it for a while. For
>> example, the following query with CreativeApprovalStatus does produce
>> results for me, (and the documentation for the reports says it can be
>> filterable by this field):
>>
>> {'reportName': 'Name: AD_PERFORMANCE_REPORT', 'dateRangeType': 'TODAY',
>> 'includeZeroImpressions': 'true', 'selector': {'predicates': [{'operator':
>> 'IN', 'field': 'CreativeApprovalStatus', 'values': ['FAMILY_SAFE']}],
>> 'fields': ['AdGroupId', 'AdGroupName', 'AdGroupStatus', 'AdType',
>> 'CampaignId', 'CampaignName', 'CampaignStatus', 'Description1',
>> 'Description2', 'DisplayUrl', 'Headline', 'Id', 'ImageAdUrl',
>> 'ImageCreativeName', 'Status', 'Url', 'CreativeApprovalStatus']},
>> 'reportType': 'AD_PERFORMANCE_REPORT', 'downloadFormat': 'CSV'}
>>
>> However, as soon as I change the filter to 'APPROVED' (which seems valid
>> according to the reports definition csv provided in the documentation, I
>> stop getting results. So 'FAMILY_SAFE' seems to result in 'APPROVED'
>> creatives, and none of the other filters seem to work.
>>
>> Thanks for looking into this!
>> Sanjay
>>
>>
>>
>> On Friday, November 16, 2012 3:44:25 PM UTC-8, David Torres wrote:
>>>
>>> Hi Sanjay,
>>>
>>> Filtering by CreativeApprovalStatus is not allowed, but I just tried a
>>> pulling a report alike yours but with no predicate
>>> for CreativeApprovalStatus and I got all my ads including the ones under
>>> review. Could you check without including the predicate at all?
>>>
>>> Best,
>>>
>>> - David Torres - AdWords API Team
>>>
>>> On Monday, November 12, 2012 2:24:25 PM UTC-5, Sanjay J wrote:
>>>>
>>>> Bump.
>>>>
>>>> I have a feeling that this may be a bug in the API, but would really
>>>> appreciate if someone could comment/confirm.
>>>>
>>>> Thanks!
>>>> Sanjay
>>>>
>>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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