Using "AD_PERFORMANCE_REPORT", the field "Headline" contains the
dimensions, immediately following the ";" character.
(( Code Examples Assume PHP ))
Include the "Headline" field:
*$selector->fields = array('AdType', 'Clicks', 'ImageAdUrl', 'Impressions',
'Headline');*
If you're ONLY interested in retrieving the image ads, no text ads, you'll
need to declare a predicate:
*$selector->predicates[] = new Predicate('AdType', 'IN', array('IMAGE_AD'));
*
If you use PHP, simply `explode` the "Headline" field:
*
*
*$dimensions = explode("; ", $headline);*
---
*$dimensions[1]* will then contain what you're looking for.
You'll see "200 x 200", "336 x 280", etc.
Hope that helps,
- Rob
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.