Issues on creating assetGroup through REST

93 views
Skip to first unread message

Joseph Chung

unread,
Aug 23, 2022, 2:38:21 PM8/23/22
to Google Ads API and AdWords API Forum
I tried creating an assetGroup via REST API on a campaign that was created in console, I constantly get the following errors. I used 
POST `https://googleads.googleapis.com/v11/customers/{customerId}/assetGroups:mutate` with all required fields from the google document.
 {
                        "errorCode": {
                            "assetGroupError": "NOT_ENOUGH_LONG_HEADLINE_ASSET"
                        },
                        "message": "Long headline asset for a valid asset group is not enough.",
                        "trigger": {
                            "stringValue": "Asset type: long headline"
                        },
                        "location": {
                            "fieldPathElements": [
                                {
                                    "fieldName": "operations",
                                    "index": 0
                                }
                            ]
                        }
                    },
                    {
                        "errorCode": {
                            "assetGroupError": "NOT_ENOUGH_DESCRIPTION_ASSET"
                        },
                        "message": "Description headline asset for a valid asset group is not enough.",
                        "trigger": {
                            "stringValue": "Asset type: description"
                        },
                        "location": {
                            "fieldPathElements": [
                                {
                                    "fieldName": "operations",
                                    "index": 0
                                }
                            ]
                        }
                    },

Joseph Chung

unread,
Aug 23, 2022, 2:40:21 PM8/23/22
to Google Ads API and AdWords API Forum
The requestId is
"7RWLtcGclUzTODRgEox7BQ"

Joseph Chung

unread,
Aug 23, 2022, 2:48:32 PM8/23/22
to Google Ads API and AdWords API Forum
Sorry but one more thing, I am aware that Performance Max campaign requires an initial minimum set of assets.

But in this case, I already created a campaign via console, with assets and assetGroups attached to it.

If for some reason Google don't allow creation of assetGroups with REST API on console-made campaigns, is there any other way?

Google Ads API Forum Advisor

unread,
Aug 23, 2022, 3:09:41 PM8/23/22
to adwor...@googlegroups.com
Hi Joseph,

Here is our Ensure minimum asset requirements are met guide for Performance Max campaign asset group creation. If the above doesn't help, could you send us the complete request and response log of raw API communications when creating a Performance Max Asset group? Adding the curl command '-v- will generate a response log while the multi line curl request is a request log.

You may send the requested information via "Reply to author" or via googleadsa...@google.com with a link to this forum post added to the new thread.

Regards,

Google Logo
Aryeh
Google Ads API Team
 
 

ref:_00D1U1174p._5004Q2dmq5B:ref

Joseph Chung

unread,
Aug 23, 2022, 5:41:32 PM8/23/22
to Google Ads API and AdWords API Forum
Hi, thanks for your reply!

 I was not sure if my follow-up request has been sent. (I sent it with 'Reply to author'). If it did, would I receive the reply via my email?

Thank you!

Best,
Joseph

Google Ads API Forum Advisor

unread,
Aug 23, 2022, 9:43:34 PM8/23/22
to adwor...@googlegroups.com

Hi Joseph,
 

I'm Darwin, also a member of the Google Ads API team. I work with Aryeh and allow me to assist you here. I hope you are doing well today.
 

Thank you for providing the log that my colleague requested. However, could you please confirm if you checked the guide on asset requirements that my colleague "Aryeh" gave to you? If not, please follow that guide to resolve the error you encountered you need to ensure minimum asset requirements are met.


If the issue still persists, then you may please provide again the latest complete request and response logs with the request-id generated in said format for the API error. You may enable logging so you’ll get complete request and response logs along with request-id by navigating to the Client libraries > Your client library (ex Java) > Logging documentation, which you can access from this link
 

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 

 



ref:_00D1U1174p._5004Q2dmq5B:ref

Joseph Chung

unread,
Aug 24, 2022, 7:43:26 AM8/24/22
to Google Ads API and AdWords API Forum
Hi Darwin, thanks for the reply. Yes I am aware of the asset requirements document, and checked it several times. 

I am using REST API, and using  `https://developers.google.com/google-ads/api/rest/reference/rest/v11/AssetGroup` as a guide document.

It doesn't provide a way to add/create assets, so I am not sure how i can satisfy the above asset requirements. 

I've sent this same email via Reply Privately option as well, so it would be great if I could get the reply to my email.

Thank you!
Reply all
Reply to author
Forward
0 new messages