Dear Google Ads Support Team,
I hope this message finds you well. I am reaching out to seek your
assistance regarding an issue I am encountering while placing a demand
generation ad using the Google Ads API. Specifically, I am receiving the
following error:
{
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type":
"type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"assetLinkError":
"FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE"
},
"message": "The given asset's type and the specified
field type are incompatible.",
"trigger": {
"int64Value": "168184572476"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "create"
},
{
"fieldName": "ad"
},
{
"fieldName": "demand_gen_carousel_ad"
},
{
"fieldName": "carousel_cards",
"index": 0
},
{
"fieldName": "asset"
}
]
}
},
{
"errorCode": {
"assetLinkError":
"FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE"
},
"message": "The given asset's type and the specified
field type are incompatible.",
"trigger": {
"int64Value": "171803730193"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "create"
},
{
"fieldName": "ad"
},
{
"fieldName": "demand_gen_carousel_ad"
},
{
"fieldName": "carousel_cards",
"index": 1
},
{
"fieldName": "asset"
}
]
}
}
],
"requestId": "7lqnv68NUI6yd6cJfeS0zQ"
}
]
}
Problem Overview:
I am creating a Demand Gen Carousel Ad using the Google Ads API, and during
the creation process, I upload marketing images and link them to the
carousel ad as assets. However, I am receiving the error message stating:
"The given asset's type and the specified field type are incompatible."
I have ensured that the images uploaded are of the correct aspect ratio and
size according to the documentation, and I validate the assets' types
before linking them to the carousel cards. Despite these precautions, the
error persists.
API Workflow Steps:
1. Upload images as assets via the uploadImageAssets function.
2. Verify asset types to ensure they are of type "IMAGE."
3. Create a Demand Gen Carousel Ad, linking the image assets to the
carousel cards.
4. Upon linking the assets, I receive the
"FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE" error.
Request for Assistance:
Could you please provide guidance on the following:
- Clarification of the exact issue with asset type compatibility in this
context.
- Whether there are any specific asset type restrictions for Demand Gen
Carousel Ads that are not clearly documented.
- Any recommended solutions or workarounds for this issue.
The request ID associated with this error is: *7lqnv68NUI6yd6cJfeS0zQ*.
Thank you in advance for your support. I would greatly appreciate any
insights or guidance you can provide to help resolve this issue.
Best regards,
Nikhil Pagare
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/67e034fb-e7fc-4350-99f0-7d9eab72b716n%40googlegroups.com.