Many thanks David.  I can now get the image dimensions.

I can indeed filter by CampaignId, but I find this strange because the 
selector fields for AdGroupAdService do not include CampaignId:
https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201209-AdGroupAdService

The main problem I now have with AdGroupAdService is that you can't filter 
by adgroup status.  I'm getting back the image Ads in ALL the adgroups 
within the specified campaign (including deleted adgroup).  With adhoc 
reports, it's possible to filter by adgroup status.   Are there any plans 
to add the dimension field to the Ad Performance Report?

Oliver




On Wednesday, March 20, 2013 6:44:01 PM UTC, David Torres wrote:
>
> Hi Oliver,
>
> You should be able to use the AdGroupAdService and request the Dimensions 
> field, and also filter by CampaignId using predicates. Let me know if I'm 
> not really understanding your question. See 
> https://developers.google.com/adwords/api/docs/reference/v201302/AdGroupAdService.Image#dimensions
>  as 
> reference.
>
> Best,
>
> - David Torres - AdWords API Team 
>
> On Tuesday, March 19, 2013 12:43:19 PM UTC-4, Oliver wrote:
>>
>> Thanks for your help. I'm already using the report, but the dimensions 
>> field is not part of it.
>>
>> There is no way our servers will cope with downloading images just to 
>> measure their dimensions.
>>
>> The 'dimensions' field is an attribute of an image Ad, so why not have it 
>> as a field either in the reports or through the services?
>>
>> I really hope someone from the API team can help with this soon.  It's a 
>> showstopper right now.
>>
>> Oliver
>>
>>
>> On Tuesday, March 19, 2013 4:06:22 PM UTC, Zweitze wrote:
>>>
>>> You can get image ad data with the adhoc report AD_PERFORMANCE_REPORT.
>>>
>>> Among the fields are some that reference the image (ad type as the ad 
>>> may be another kind of ad, URL to image, ...)
>>> You could try to get the URLs, download the images, measure the images?
>>>
>>> In the same report you can filter on campaign id.
>>>
>>>
>>> Hope this helps.
>>>
>>>
>>> On Tuesday, March 19, 2013 1:12:24 PM UTC+1, Oliver wrote:
>>>>
>>>> Anyone please?
>>>>
>>>> I tried running the example code here:
>>>>
>>>> http://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201209/misc/GetAllImagesAndVideos.java
>>>>
>>>> on an account that has a Display campaign with image Ads.  
>>>>
>>>> The code can't find any images in the whole in my account.  The example 
>>>> code above is using the MediaService to get image Ads.  I'm not sure if 
>>>> MediaService is the right service for this anyway.Can someone please 
>>>> confirm? 
>>>>
>>>> Also, it strikes me that you can't use CampaignId as a predicate to 
>>>> filter with MediaService.  How can one get image Ads for a specific 
>>>> Campaign?
>>>>
>>>> Any help much appreciated.
>>>>
>>>> Oliver
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Friday, March 15, 2013 2:58:57 PM UTC, Oliver wrote:
>>>>>
>>>>> I'd like to get the dimensions of an Image Ad, preferably via adhoc 
>>>>> reports or, if not possible, via the service API.
>>>>>
>>>>> I'm referring to the size of the image itself e.g. 728x90, 468x60, etc.
>>>>>
>>>>> Is it possible?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Oliver
>>>>>
>>>>>  
>>>>>
>>>>

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