I am getting an exception: AdError.INVALID_AD_TYPE @
operations[0].operand.id
full error:
[{:field_path=>"operations[0].operand.id",
:field_path_elements=>[{:field=>"operations", :index=>0},
{:field=>"operand"}, {:field=>"id"}], :trigger=>"",
:error_string=>"AdError.INVALID_AD_TYPE", :api_error_type=>"AdError",
:reason=>"INVALID_AD_TYPE", :xsi_type=>"AdError"}]
I am using 'AdService', creating both shopping as well as expanded dynamic
search ads.
below are my operations set for shopping and expanded dynamic search ad
respectively:
shopping:
[{:operator=>"SET", :operand=>{:id=>"438598577711",
:xsi_type=>"ProductAd"}}]
Expanded Dynamic Search Ad:
[{:operator=>"SET", :operand=>{:id=>"438551952907",
:xsi_type=>"ExpandedDynamicSearchAd", :description=>"too tired for this"}}]
My ad type seems to be valid according to me, my [operator -> 'ADD']
requests are working fine. This exception is only happening while updating
an ad.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads 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/edb32fb4-c2cb-4484-9745-36ffc27b0ce7%40googlegroups.com.