Hi,
Thank you for reaching out to Google Ads API Forum.
You may need to use MutateAdGroupAssets (MutateAdGroupAssetsRequest) via AdGroupAssetService to link your AdGroup to your image assets. You may refer to this code example (https://developers.google.com/google-ads/api/samples/upload-image-asset#python) for uploading an image asset using Python. However, there is no available sample code example to add asset based image extensions at ad group level in Python.
Please let us know if you have further questions.
![]() |
Google Ads API Team |
Hi,
Thanks for getting back to us.
In order for us to investigate further, can you share with us the whole Google Ads UI screenshot (without cropping) of the data in the Google Ads UI you are trying to set via API? This is so we can check on our end as well and provide more appropriate answers accordingly.
Can you also provide more context when you mentioned it is not working? If you are encountering API errors on your end, can you provide us with the complete API logs (request and response with request-id and request header) generated on your end when you encountered the issue you mentioned? You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
For the client libraries, logging can be enabled by navigating to the Client libraries > Your client library (ex Java) > Logging documentation, which you can access from this link (https://developers.google.com/google-ads/api/docs/client-libs).
Reference links included in this email:
Hi,
Thanks for getting back to us.
I want to send png images to specific ad group in google ads account using google ads api using python. Can you please provide me code for the same
>> Unfortunately, the link we shared previously is the only official code example available in uploading an image asset. Since your concern is more on the code implementation of the Google Ads API python client library, I would recommend reaching out to the developer who maintains our client libraries Python (Github Issues) via this link (https://github.com/googleads/google-ads-python/issues) .