I am trying the update and ImageAd by just setting the status to
DISABLED. Unfortunately, I get the following error:
[RequiredError.REQUIRED @ operations[0].operand.ad.image.mediaId]
The mediaId is always 0 for all my image ads. Even if I
set .mediaIdSpecified to True, I get a different error:
[RangeError.TOO_LOW @ operations[0].
operand.ad.image.mediaId.id]
Even the documentation doesn't make sense. It says this field is
required but it's optional:
"Media id; Optional; E.g., image ads don't have a mediaId. This field
is required and should not be null when it is contained within
Operators : SET, REMOVE."
Since image ads don't have a mediaId, why is it required? And how can
I update an ImageAd if my mediaId is always 0?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to
adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en