Hi Esteban, 

If you do a CampaignService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService#get>
 
and look for the details in the UniversalAppCampaignSetting 
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.UniversalAppCampaignSetting>,
 
you will be able to get the youtubeVideoMediaIds 
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.UniversalAppCampaignSetting#youtubevideomediaids>
 
and imageMediaIds 
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.UniversalAppCampaignSetting#imagemediaids>.
 
You should then be able to use the MediaService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201809/MediaService#get>
 
and filter by the above ids to get the asset details. This code 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201809/misc/GetAllImagesAndVideos.java>
 
sample in Java shows how to get all media using the MediaService. Samples 
in other languages can also be found here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. Please 
give this a try and let me know if you are facing any issues. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6282abc4-6d1c-4d81-ad36-eaa5b5aaf854%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... esteban
    • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... esteban
        • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to