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, .Net, PHP, Python, Ruby 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 Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/Fnobq000000000000000000000000000000000000000000000SK2DG000z25CNdUbQ8qcOaVeLpLJNg%40sfdc.net.
  • Re... Nick pagare
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to