how to get asset.source='AUTOMATICALLY_CREATED' programmatically

119 views
Skip to first unread message

Bogdan Dumitrescu

unread,
May 30, 2023, 1:19:46 PM5/30/23
to Google Ads API and AdWords API Forum
  1. We are trying to query https://developers.google.com/google-ads/api/fields/v13/ad_group_ad_asset_view_query_builder 
  2.  
  3. To get the asset.source='AUTOMATICALLY_CREATED' programmatically
  4.  
  5. i tried a variations of GAQL queries , the simplest one being 
    1. SELECT
      campaign.id,
      asset.source
      FROM ad_group_ad_asset_view
      WHERE
      asset.source != 'ADVERTISER'

    2.  

  6. But nothing comes up , which seems to imply there is no way to programmatically get the assets Automatically Created ( from experiments )
  7.  
  8. Attached is a screenshot of what we see in the Google Ads UI which SHOULD show up as source=AUTOMATICALLY_CREATED but comes back as ADVERTISER 
    1. AD ID 505191991329
    2. Campaign ID 20113805176
    3. Ad Group ID 151957085514
    4.  
  9. Or another example 
    1. where ext_campaign_id = '20113805176'

    2. and ext_adgroup_id = '151957085514'

    3. and ext_ad_id = '505191991329'

    4. and ext_asset_id in ('82810186692','82810186689','83517604316')

    5.   
  10. So the question is ... is there a way to programmatically get the asset.source=AUTOMATICALLY_CREATED ?

  11. https://ads.google.com/aw/campaigns?ocid=634192222&workspaceId=0&ascid=634192222&euid=699421145&__u=2747777105&uscid=9107486&__c=8647485614&authuser=0&assetFieldType=59
  12.  

Google Ads API and AdWords API Forum

unread,
Aug 1, 2023, 11:28:08 AM8/1/23
to Google Ads API and AdWords API Forum
Re-posting the last inquiry (https://groups.google.com/g/adwords-api/c/88_bLGW66FA) from the forum as it wasn't routed to our support queue.

Regards,
Google Ads API Team

Google Ads API Forum Advisor

unread,
Aug 1, 2023, 12:31:07 PM8/1/23
to adwor...@googlegroups.com
Hi,

I am from the Google Ads API support team. Thank you for reaching out to the Google Ads API Support Team. Please excuse us for only getting back now as your message failed to be routed to our support queue.

Moving forward to your concern, this is a known issue at our end. Our team is working on the issue, and we will reach out to you once we have any updates.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2nZoRG:ref"

Thanks,
 
Google Logo Google Ads API Team


Lucas Adbroad

unread,
Sep 17, 2024, 8:09:47 AM9/17/24
to Google Ads API and AdWords API Forum
Any updates on this?
The API is still wrongfully returning "ADVERTISER" as the asset source of non-YouTube automatically created assets...

Google Ads API Forum Advisor

unread,
Sep 17, 2024, 8:51:41 AM9/17/24
to l.ad...@gmail.com, adwor...@googlegroups.com
Lucas:

In Version 15 we published AdGroupAdAsset.source to the API.  Asset.source is only accurate for mutable Assets, but not accurate for other asset types. For source of RSA Assets, AdGroupAdAsset.source shows the truth.

ttps://developers.google.com/google-ads/api/docs/assets/overview#asset_types_linked_to_customers_campaigns_and_ad_groups shows which assets are mutable.

It this does not clear it up, please send your latest query and, if possible, the logs from the client library for the request.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02nZoRG:ref" (ADR-00191013)

Thanks,
 
Google Logo
Bob Hancock
Google Ads API Team


Reply all
Reply to author
Forward
0 new messages