googleads / google-ads-python

Google Ads API Client Library for Python
Apache License 2.0
526 stars 480 forks source link

Missing `get_all_image_assets` script #832

Closed Sebadst closed 9 months ago

Sebadst commented 10 months ago

In the upload_image_asset script here, you are mentioning a get_all_image_assets.py script. However, there doesn't seem to be such a script in the repo. Could you please upload one or update that docs? Thanks

BenRKarl commented 9 months ago

@Sebadst thanks for pointing this out. It looks like this reference has been missing for some time. I'm checking with the team to determine if this example is still planned, or obsolete. I'll file a bug to make an update based on what I find. In the meantime I believe you should be able to retrieve all image assets with the below GAQL query:

SELECT
  asset.*
  ...
FROM asset
WHERE asset.type = IMAGE