ad asset

80 views
Skip to first unread message

12che...@163.com

unread,
Jan 2, 2019, 4:57:07 AM1/2/19
to AdWords API and Google Ads API Forum
how to get the asset detail information about the ad ?

Bharani Cherukuri (AdWords API Team)

unread,
Jan 2, 2019, 1:59:07 PM1/2/19
to AdWords API and Google Ads API Forum
Hello, 

You may use the Ad Performance Report which will return all the details specific to an ad like the Headline, Description. You may also use the AdGroupAdService.get() which will return the Ad details. Can you please take a look and let me know if you have any further questions?

Regards,
Bharani, AdWords API Team

12che...@163.com

unread,
Jan 4, 2019, 3:31:07 AM1/4/19
to AdWords API and Google Ads API Forum
Hi,

You can see my test account has seven ad assets. I use the mediaService.get(selector) which  can return the media  name and media CreationTime. But I cann't get the Text Asset name and the media filesize is zero and the media sourceUrl is also null. 


can you give me some suggestion for this problem?  By the way my code's selector field is MediaId,Width,Height,MimeType,SourceUrl,FileSize,CreationTime 

test.png



Bharani Cherukuri (AdWords API Team)於 2019年1月3日星期四 UTC+8上午2時59分07秒寫道:

Bharani Cherukuri (AdWords API Team)

unread,
Jan 4, 2019, 12:13:02 PM1/4/19
to AdWords API and Google Ads API Forum
Hello, 

It looks like you're looking to get the Text asset information for the Universal App Campaigns. The MediaService.get() will only return the data if the uploaded media file of the format listed here. To pull the Universal App campaigns data, you may use the CampaignService.get() operation with selector field which includes the UniversalAppCampaignSetting. You may refer to the GetCampaigns code sample as a reference from the respective client library. Could you please give this a try and let me know if you have any questions? 

Thanks,
Bharani, AdWords API Team

12che...@163.com

unread,
Jan 6, 2019, 9:59:48 PM1/6/19
to AdWords API and Google Ads API Forum
Hello,

Thanks for you reply.  I have already got the Text asset information  using the campaignService.get(selector) operation.  The UniversalAppCampaignSetting object just includes the Text asset information and youtubeVideoMediaIds. I also want to get  the youtubeVideoMedia  source url and targeted location which are set in my ad. Could you  please tell me how to get this information?


3.png

4.png




Bharani Cherukuri (AdWords API Team)於 2019年1月5日星期六 UTC+8上午1時13分02秒寫道:

Bharani Cherukuri (AdWords API Team)

unread,
Jan 7, 2019, 3:42:13 PM1/7/19
to AdWords API and Google Ads API Forum
Hello Chang, 

To get the Youtube media source URL, you may use the MediaService.get() operation. The location criteria information can be retrieved using the CampaignCriterionService.get() which will return all the information for the targeted locations. Let me know if you have any other questions. 

12che...@163.com

unread,
Jan 7, 2019, 10:50:13 PM1/7/19
to AdWords API and Google Ads API Forum
Hello Bharani

 I have finished it by your method.Thanks very much.

Best Regards


Bharani Cherukuri (AdWords API Team)於 2019年1月8日星期二 UTC+8上午4時42分13秒寫道:
Reply all
Reply to author
Forward
0 new messages