RE: request for assistance regarding "field_type_incompatible_with_asset_type" error in google ads api

39 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Sep 19, 2024, 10:27:02 AM9/19/24
to nikhilpa...@gmail.com, adwor...@googlegroups.com
Hi Nikhil,

Thank you for reaching out to the Google Ads API support team.

Upon reviewing your concern, it appears that you're encountering FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE error. This issue arises when there's a mismatch between the type of asset provided and the expected field type. To resolve this, ensure that your Demand Gen ad type is set as 'Carousel image ad' and includes a minimum of two images and one logo. These images can either be square marketing images or landscape images, with recommended dimensions of 1200 x 628 pixels for landing images and 1200 x 1200 pixels for square marketing images. Logos should have a minimum size of 128 x 128 pixels and maintain a 1:1 aspect ratio. For further guidance, I would recommend you to kindly refer to the 'logo_image' and 'DiscoveryCarouselCardAsset' guides for more detailed information. After creating this demand gen ad type then for retrieving the asset_id you can utilize this sample GAQL query:
SELECT asset.id, asset.name, asset.type, metrics.impressions FROM ad_group_ad_asset_view 
WHERE ad_group_ad_asset_view.field_type = DISCOVERY_CAROUSEL_CARD
After retrieving the asset IDs then you can add these asset IDs under the 'carouselCards' field and then try making the API request again.

If the issue persists, provide us with the complete API logs (request and response logs with request-id and request header) generated at your end.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

Please be informed that I have removed your response from the forums as it contains the PII information. You can send the details via Reply privately to the author option, or direct private reply to this email.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGLZ9:ref" (ADR-00268746)

Thanks,
 
Google Logo Google Ads API Team


 

Reply all
Reply to author
Forward
0 new messages