Hi Laura, I created a pageFeedAsset like you suggested with the following request. But the resource name it gave me was "customers/4926841893/assets/154931386256", and when I pass it in the feeds array while creating a DSA campaign, I get an error saying the format should be "customers/4926841893/feeds/feed_id" and not "customers/4926841893/assets/asset_id"
Page Feed Asset creation request - curl --location 'https://googleads.googleapis.com/v17/customers/4926841893/assets:mutate' \ --header 'developer-token: hN6dsqjNmj3tWdITcPd_Qg' \ --header 'login-customer-id: 3263459376' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ya29.a0AcM612yE9ASuh9xK8Axb2hAed3XIVGON_gaYViM7VFp43CtBsMHTh-dBEjBFUxErm84GVSEYn69efVY-RMMjbQoWHqAQ3VJHf7dmrlOPTLK0zkB3ROSqZFjaQAMgp1Nur_J4-yyHv1s8gsFkY7azSDi_iSsgTtSX3fyLaCgYKAa0SARMSFQHGX2MiI6fMYeqYsWDF4vdHhc3OGg0171' \ --data '{ "operations": [ { "create": { "type": "PAGE_FEED", "pageFeedAsset": { "pageUrl": "https://example.com", "labels": [ "example", "example1", "example2", "example3" ] } } } ] }' DSA campaign creation request curl --location 'https://googleads.googleapis.com/v16/customers/4926841893/campaigns:mutate' \ --header 'developer-token: hN6dsqjNmj3tWdITcPd_Qg' \ --header 'login-customer-id: 3263459376' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ya29.a0AcM612xwpFK4yVTBfI6NyyLESMtuxYtYv37qOhCJJfA-6bdP8U_8yRHEnrjDZK5fG3CFU8WPvBeaQr4Gvwc_IjUPlYx4mQCOSLVBVjJcCwN_MbrViBwY6iwao-9--N6VblCeDa95OZVVNYdvMDTZAV8-7Qw40RDjL1dvaCgYKAXkSARMSFQHGX2Mi9rNDpd815v_DMZukGcQKaQ0171' \ --data '{ "operations": [ { "create": { "name": "Dynamic search campaign", "status": "PAUSED", "campaignBudget": "customers/4926841893/campaignBudgets/13757766883", "advertisingChannelType": "SEARCH", "networkSettings": { "targetGoogleSearch": true, "targetSearchNetwork": true, "targetContentNetwork": true, "targetPartnerSearchNetwork": false }, "target_spend": {}, "dynamicSearchAdsSetting": { "domainName": "example.com", "languageCode": "en", "feeds": [ "customers/4926841893/assets/154931386256" ], "useSuppliedUrlsOnly": true } } } ] }' Thanks for your support On Thursday, August 1, 2024 at 11:59:38 PM UTC+5:30 Google Ads API Forum Advisor wrote: > Hey Darshan, > > Hope you're well! I've taken a look at the information you provided, and I > believe you're using the incorrect endpoint to create a page feed for your > DSA. I recommend taking a look at the "Dynamic Search Ads Page Feeds" > guide > <https://developers.google.com/google-ads/api/docs/dynamic-search-ads/dsa-page-feeds>, > > which explains the steps for creating a page feed asset that you can > reference in your dynamic search ad setting. So rather than creating a > customer feed using the "/customers/.../feeds:mutate" endpoints, you'd > create a feed asset using the "/customers/.../assets:mutate" endpoint and > populating the "pageFeedAsset > <https://developers.google.com/google-ads/api/rest/reference/rest/v17/Asset#pagefeedasset>" > > field. > > Hope this helps. > > This message is in relation to case > "ref:!00D1U01174p.!5004Q02vEHH3:ref" (ADR-00259939) > > Thanks, > > [image: Google Logo] > Laura Chevalier > Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 on the web visit https://groups.google.com/d/msgid/adwords-api/ba2f6367-e3a0-469f-b4ff-a017765dc44dn%40googlegroups.com.