Hi Mitchell,

Thanks for your reply.

We enable the logging and the problem was shown, we managed to follow.

Now, we stop in this point, this code is ok?


ad_media_bundle_asset = client.get_type('AdMediaBundleAsset', version='v3')
string_value = client.get_type('StringValue', version='v3')
string_value.value = mutate_media_files_response.results[0].resource_name
ad_media_bundle_asset.asset = string_value # <<===STOP HERE
ad_group_ad.ad.display_upload_ad.media_bundle = ad_media_bundle_asset


Traceback (most recent call last):
File "/app/modules/ads.py", line 168, in mediaUpload
media_bundle_asset.asset = string_value
AttributeError: Assignment not allowed to field "asset" in protocol message 
object.


*Another doubt, which Python version is certified for this API?*

Thanks!
Fabio Szostak

Em quarta-feira, 13 de maio de 2020 10:23:28 UTC-3, adsapiforumadvisor 
escreveu:
>
> Hi Fabio,
>
> Could you please share the complete detailed request and response logs for 
> the call *via Reply privately to author *so I can further investigate the 
> issue? You can find information on enabling logging here 
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
>  (log 
> level = DEBUG).
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q1zLTbr:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6a44e7c0-26c0-4844-8570-430b834c95a7%40googlegroups.com.

Reply via email to