Creating asset or assetGroup

143 views
Skip to first unread message

Joseph Chung

unread,
Aug 25, 2022, 4:13:11 PM8/25/22
to Google Ads API and AdWords API Forum
Hello, I've been having difficulty creating assetGroup via REST API.

This is the error message I get

`"errors": [
{
"errorCode": {
"assetGroupError": "NOT_ENOUGH_HEADLINE_ASSET"
},
"message": "Headline asset for a valid asset group is not enough.",
"trigger": {
"stringValue": "Asset type: headline"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
},
{
"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
}
]
}
},
{
"errorCode": {
"assetGroupError": "NOT_ENOUGH_BUSINESS_NAME_ASSET"
},
"message": "Business name asset for a valid asset group is not enough.",
"trigger": {
"stringValue": "Asset type: business name"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
},
{
"errorCode": {
"assetGroupError": "NOT_ENOUGH_MARKETING_IMAGE_ASSET"
},
"message": "Marketing image asset for a valid asset group is not enough.",
"trigger": {
"stringValue": "Asset type: marketing image"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
},
{
"errorCode": {
"assetGroupError": "NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET"
},
"message": "Square marketing image asset for a valid asset group is not enough.",
"trigger": {
"stringValue": "Asset type: square marketing image"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
},
`

Yes I've read Ensure minimum asset requirements are met guide, and yes I tried creating assets, but it only allows me to create "text" type asset, and even when I add headlines and descriptions in console, it creates text type asset like the following

{
"asset": {
"resourceName": "customers/{customerId}/assets/{assetId}",
"type": "TEXT",
"textAsset": {
"text": "This is sample headline"
},
"id": "51129162992"
}
}

Please help me resolve this issue and create an assetGroup, cuz I've been stuck on this for a week now

Google Ads API Forum Advisor

unread,
Aug 25, 2022, 10:42:58 PM8/25/22
to adwor...@googlegroups.com

Hi Joseph,


Thanks for reaching out to the Google Ads API team. I hope you are doing well today.


With regard to your concern,​ to investigate the issue further, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled 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, you may send the details directly to our googleadsa...@google.com alias instead.

 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dnjJn:ref

Joseph Chung

unread,
Aug 26, 2022, 3:10:55 PM8/26/22
to Google Ads API and AdWords API Forum
Hi, thanks for the reply.

I've already sent the issue log with request-id, but here I am just asking about the steps to create assetGroup, because it seems like creating a headline asset is shown as textAsset, and thereby throwing this error.

Thank you

Reply all
Reply to author
Forward
0 new messages