how to create textasset using assetservice ?

66 views
Skip to first unread message

Tristin

unread,
Dec 22, 2020, 11:04:02 PM12/22/20
to AdWords API and Google Ads API Forum
I want to create textasset, but it's error is not obvious。

Or can you tell me that how to create textasset, use assetservice? use adservice? 
please!

Google Ads API Forum Advisor Prod

unread,
Dec 23, 2020, 12:01:33 PM12/23/20
to cpj...@163.com, adwor...@googlegroups.com
Hi Tristin,

I recommend looking over the working with assets guide. Most asset types are created using AssetService, but TextAssets are actually created inline during ad creation. This is demonstrated in the second code example of the provided guide in the using assets with ads section.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


 

ref:_00D1U1174p._5004Q29UJWc:ref

Tristin

unread,
Dec 23, 2020, 9:07:14 PM12/23/20
to AdWords API and Google Ads API Forum
Ok, thank you very much.

I saw the assets overview , it write that the textasset can be created by assetservices. So i think this. 

But you say not, i must believe you. 

Thanks again.

Google Ads API Forum Advisor Prod

unread,
Dec 28, 2020, 12:13:02 PM12/28/20
to cpj...@163.com, adwor...@googlegroups.com
Hi Tristin,

The AssetOperation documentation mentions: 

A single operation to create an asset. Supported asset types are YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset should be created with Ad inline.

Please let us know if you have any other questions on this.
Reply all
Reply to author
Forward
0 new messages