Hello pete,

For copying Template Ads please consider using originAdId field, see 
release notes:

  https://developers.google.com/adwords/api/docs/reference/#v201309

Some template ad fields are not available via the API and can only be 
copied server-side.


-Danial, AdWords API Team.


On Tuesday, November 12, 2013 4:31:17 PM UTC+4, pete wrote:
>
> Hello
>
> I'm getting an error when creating a TemplateAd
>     AdError: the violating text is "", located in the adUnionId field; the 
> Policy violated is called ""
>
> The process flow is to create an Ad by using the API to "get" an Ad, make 
> a copy in memory, change the url field, set the id field to null then 
> attempt to create a new ad from this copy.
>
> Which throws the error above.
>
> The adUnionId field is populated (from the "get") and I don't attempt to 
> make any changes to it.
>
> Can you throw some light on what I'm doing wrong. Thanks
>
> pete
>

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