Hi,

Thank you for reaching out to the Google Ads API support team.

Based on the information provided, I understand that you are looking for 
guidance on how to retrieve and set the custom dynamic ad feed asset using the 
Google Ads API. To retrieve the final URL, I would recommend you to include the 
asset.final_urls field from the asset resource using the Google Ads API. 
However, I am sharing the sample GAQL query as per your requirement:

SELECT asset.resource_name, asset.dynamic_custom_asset.item_title, 
asset.dynamic_custom_asset.item_description, 
asset.dynamic_custom_asset.price, asset.final_urls FROM asset WHERE 
asset.dynamic_custom_asset.id = '{dynamicCustomAssetId}'

>From the above GAQL query you will be able to retrieve the asset resource name 
>and the final urls of an asset as per your screenshot. To update the final URL 
>of a custom dynamic ad feed asset, I would recommend you to use the 
>AssetService and pass the resource name which is obtained from the above query 
>and then update the finalUrls field. However, I am providing you the sample 
>request body as per your requirement:

Request Body: ==============
POST 
https://googleads.googleapis.com/v22/customers/{customerId}/assets:mutate?key=[YOUR_API_KEY]
 HTTP/1.1

developer-token: **********************
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json

{
  "operations": [
    {
      "update": {
        "finalUrls": [
          "https://examplechnagedurl2.com";
        ],
        "resourceName": "customers/{customerId}/assets/{assetId}"
      },
      "updateMask": "finalUrls"
    }
  ]
}

Additionally, you can refer to this code example as it clearly explains how to 
use the Asset service for managing the final urls using the Google Ads API. 
This will allow you to successfully update the custom dynamic ad feed asset 
using the Google Ads API.

I hope this clarifies.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-10-21 09:43:14Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01vRDOb:ref" (ADR-00335909)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/_PsYn000000000000000000000000000000000000000000000T4H70200V1MoRdPXSP-rVhayGcxHwg%40sfdc.net.
  • Fi... Jesper Jørgensen
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to