I need to create an ad and I need to upload an image asset so I can use it 
with Ad. 

I  am using *Google Ads API .  *I believe I need to use the 
*"AssetService" *
https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.AssetService
 for 
the same.
 

ad_imageasset_service  = client.get_service('*AssetService*', version='v1')

ad_imageadd_operation  = client.get_type('AssetOperation', version='v1')

ad_imageadd            = ad_imageadd_operation.create 


I am now trying to add the image.  I have the image and it's details. But I see 
that we need to input the image data in bytes . 


Could you please validate if above is right ? Also considering we have the 
image, how should we input the image data in bytes ? 



Thanks and Regards,

Anushri

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/064c8ef0-f993-43a6-9e45-0b5b5d316399%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to