Hi,

Did you include "Urls" in your selector?
You can refer to this 
page<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201309-AdGroupAdService>for
 available selector fields.

Best,
- Takeshi, AdWords API Team

On Tuesday, November 12, 2013 10:21:51 PM UTC+9, kost...@gmail.com wrote:
>
>
> TemplateAd fields
>
> I have a TemplateAd with Image, I want copy this ad to change uri
>
> get ad by php lib using AdGroupAdService, and have a result AdGroupAd 
> object like this:
>
> object(AdGroupAd)#20 (8) {
>   ["adGroupId"]=>
>   string(10) "8765847077"
>   ["ad"]=>
>   object(TemplateAd)#18 (13) {
>     ["templateId"]=>
>     string(3) "364"
>     ["adUnionId"]=>
>     NULL
>     ["templateElements"]=>
>     array(1) {
>       [0]=>
>       object(TemplateElement)#17 (2) {
>         ["uniqueName"]=>
>         string(6) "adData"
>         ["fields"]=>
>         NULL
>       }
>     }
>     ["dimensions"]=>
>     object(Dimensions)#16 (2) {
>       ["width"]=>
>       int(160)
>       ["height"]=>
>       int(600)
>     }
>     ["name"]=>
>     string(7) "160*600"
>     ["duration"]=>
>     NULL
>     ["originAdId"]=>
>     NULL
>     ["id"]=>
>     string(11) "27803504957"
>     ["url"]=>
>     string(23) "http://bank-credits.net";
>     ["displayUrl"]=>
>     string(16) "bank-credits.net"
>     ["devicePreference"]=>
>     NULL
>     ["AdType"]=>
>     string(10) "TemplateAd"
>     ["_parameterMap":"Ad":private]=>
>     array(1) {
>       ["Ad.Type"]=>
>       string(6) "AdType"
>     }
>   }
>   ["experimentData"]=>
>   NULL
>   ["status"]=>
>   string(7) "ENABLED"
>   ["approvalStatus"]=>
>   string(11) "FAMILY_SAFE"
>   ["disapprovalReasons"]=>
>   NULL
>   ["trademarkDisapproved"]=>
>   bool(false)
>   ["forwardCompatibilityMap"]=>
>   NULL
> }
>
> but there is no templateElements with image data, how can I get all 
> templateElements or Image ?
>

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