Hi,

I want to create an Asset Group Signal via. API call. For that I am trying 
to do the following steps:
1. Create Performance Max Campaign
2. Create AssetGroup
3. Create Audience
4. Create AssetGroupSignal

But when i try to create the asset group via. API call I'm getting errors.

Request:
{
    "operations": {
        "create": {
                "campaign": "customers/xxxx/campaigns/xxxx",
                "name": "Test Group asset 2",
                "finalUrls": [
                    "http://www.google.com";
                ],
                "status": "ENABLED"
        }
    }
}

Response:
{
    "error": {
        "code": 400,
        "message": "Request contains an invalid argument.",
        "status": "INVALID_ARGUMENT",
        "details": [
            {
                "@type": "
type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure",
                "errors": [
                    {
                        "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
                                }
                            ]
                        }
                    },
                    {
                        "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_LOGO_ASSET"
                        },
                        "message": "Logo asset for a valid asset group is 
not enough.",
                        "trigger": {
                            "stringValue": "Asset type: logo"
                        },
                        "location": {
                            "fieldPathElements": [
                                {
                                    "fieldName": "operations",
                                    "index": 0
                                }
                            ]
                        }
                    },
                    {
                        "errorCode": {
                            "requestError": "UNKNOWN"
                        },
                        "message": "The error code is not in this version.",
                        "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_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
                                }
                            ]
                        }
                    }
                ],
                "requestId": "goIaWJmp68WgnqZV5H43yQ"
            }
        ]
    }
}

Questions:
1. Are the steps I am following to create the Asset Group Signal via. API 
correct?
2. How to resolve the errors which I am getting while trying to create the 
Asset Group?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aef7254c-b1a2-418a-b3db-9296b6efb187n%40googlegroups.com.

Reply via email to