Hello again, Thanks for your reply. The above error message shows that the issue is with the "Sitelink" value. I only face this problem when adding an existing sitelink asset extension to an asset group. Otherwise, asset group creation works fine using the same query without sitelink assets. The issue happens only when attaching asset extensions like sitelink, callout, call, and others. Can you help me understand the cause of this error? Here is the trigger Value which causes the failure of request , you can also see in the above error message- "trigger": { "stringValue": "*SITELINK,UBERVERSAL*" },
It would be really helpful if you could guide me on this. I don’t think the issue is related to asset requirements because, as you can see in my request, I am sending all the necessary details for the asset group. Additionally, I would appreciate it if you could explain how to edit asset extensions (like sitelink, callout, call, etc.) in an asset group. Specifically, if an asset group already has an attached sitelink and I want to add another sitelink, how can I do that? Also, how can I remove an existing asset extension from the asset group? And one more thing I am firstslty created each assets and then attaching all the assets to the asset group after creation of asset group so I don't think so asset group creation give this type of error. Thanks in advance! On Tuesday, 18 February 2025 at 12:12:10 UTC+5:30 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > By reviewing your query, I understand that you are encountering "The error > code is not in this version" error when trying to attach an asset to an > asset group for the PMax campaign. The error might occur when asset > requirements are not met. I would recommend you to kindly follow the "*Asset > Requirements* > <https://developers.google.com/google-ads/api/docs/performance-max/asset-requirements?hl=en>" > > documentation while attaching assets to an asset group. Please note that > the Performance Max campaigns are composed of multiple resources, and you > have the option to create these separate resources in unique requests or in > a single *bulk mutate request* > <https://developers.google.com/google-ads/api/docs/mutating/bulk-mutate>. > However, AssetGroups and associated AssetGroupAssets in standard > Performance Max campaigns must be created in a single atomic request. > Assets can be created individually and need to be attached with the asset > IDs directly or you need to create the assets using the assetOperation. > > I would suggest you create the *AssetGroupOperation* > <https://developers.google.com/google-ads/api/fields/v18/asset_group> > with some temporary negative ID and then create the assets by using the > assetoperation by giving the asset ID as some temporary unique IDs. Kindly > note that for a single job or mutate request, each temporary resource name > must use a unique negative number, even if they are from different resource > types. If a temporary ID is reused in a single job or mutate request, then > an error is returned. And then attach all these assets to the asset group > with *AssetGroupAssetOperation* > <https://developers.google.com/google-ads/api/fields/v18/asset_group_asset>. > Please note that all operations can be performed in > *customers.googleAds.mutate* > <https://developers.google.com/google-ads/api/rest/reference/rest/v18/customers.googleAds/mutate> > > method in the Google Ads API. You can refer to the sample *code* > <https://developers.google.com/google-ads/api/performance-max/asset-groups#java> > > for your requirement. Also, I would recommend you to refer to the '*Group > operations with mutate requests* > <https://developers.google.com/google-ads/api/performance-max/structure-requests#group_operations_with_mutate_requests>' > > for more information. Additionally I would recommend you to go through this > *temporary > IDs* > <https://developers.google.com/google-ads/api/docs/batch-processing/temporary-ids> > > documentation as it explains how to use the temporary IDs. > > Also, I would suggest you kindly refer to the "*Link asset groups to > assets in Performance Max retail campaigns* > <https://developers.google.com/google-ads/api/docs/performance-max/asset-groups#link_asset_groups_to_assets_in_performance_max_retail_campaigns>" > > documentation as it explains how to add asset groups to assets. > I hope this helps! If you have any questions, please feel free to contact > us. > > > 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=5004Q00002vH2KHQA0> > > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=5004Q00002vH2KHQA0> > > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=5004Q00002vH2KHQA0> > > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=5004Q00002vH2KHQA0> > > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=5004Q00002vH2KHQA0> > [2025-02-18 06:41:32Z GMT] This message is in relation to case > "ref:!00D1U01174p.!5004Q02vH2KH:ref" (ADR-00288638) > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/ad95ad7b-1237-44a4-a3fb-c0dff59b5bddn%40googlegroups.com.