Thank you for your answer. The feed information I need is indeed in AssetSet. So how do I associate AssetSet with Campaign?
在2025年4月29日星期二 UTC+8 20:46:40<Google Ads API Forum Advisor> 写道: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > Please be informed that I have removed your response from the forums as it > contains the PII information. Do note that the feed-based extensions were > migrated to *asset-based *extensions. Kindly refresh the blog post > <https://ads-developers.googleblog.com/2023/07/image-and-location-assets-in-new.html> > for > more details. Feed items no longer exist and no longer gather metrics. You > can retrieve the feed data using the asset set > <https://developers.google.com/google-ads/api/fields/v19/asset_set> resource > as below: > > > POST https://googleads.googleapis.com/v19/customers/{customer > Id}/googleAds:search?key=[YOUR_API_KEY] HTTP/1.1 > > developer-token: ********************** > Authorization: Bearer [YOUR_ACCESS_TOKEN] > Accept: application/json > Content-Type: application/json > > { > "query": "SELECT asset_set.id, asset_set.type, asset_set.status, > asset_set.resource_name, asset_set.name FROM asset_set" > } > > { > "results": [ > { > "assetSet": { > "resourceName": "customers/{customer Id}/assetSets/{asset set Id}", > "name": "PTV a03 s Game feed", > "type": "DYNAMIC_CUSTOM", > "status": "ENABLED", > "id": "{asset set Id}"" > } > }, > { > "assetSet": { > "resourceName": "customers/{customer Id}/assetSets/{asset set Id}"", > "name": "PTV S Game feed", > "type": "DYNAMIC_CUSTOM", > "status": "ENABLED", > "id": "{asset set Id}"" > } > } > ], > "fieldMask": > "assetSet.id,assetSet.type,assetSet.status,assetSet.resourceName,assetSet.name", > "queryResourceConsumption": "80" > } > > You can try making a request using the Search > <https://developers.google.com/google-ads/api/rest/reference/rest/v19/customers.googleAds/search> > or SearchStream > <https://developers.google.com/google-ads/api/rest/reference/rest/v19/customers.googleAds/searchStream> > by > passing the customer Id. Also, you can use QueryBuilder > <https://developers.google.com/google-ads/api/fields/v19/overview_query_builder> > to > create your query and QueryValidator > <https://developers.google.com/google-ads/api/fields/v19/query_validator> to > validate your query. > > > Thanks, > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001qVGSyIAO> > > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001qVGSyIAO> > > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001qVGSyIAO> > > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001qVGSyIAO> > > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001qVGSyIAO> > [2025-04-29 12:45:32Z GMT] This message is in relation to case > "ref:!00D1U01174p.!500Ht01qVGSy:ref" (ADR-00302777) > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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 visit https://groups.google.com/d/msgid/adwords-api/f0d83e89-e6ce-47e6-a1ab-30301c0cd911n%40googlegroups.com.