Getting CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR error after moving to 201605

413 views
Skip to first unread message

Oliver

unread,
Jul 29, 2016, 6:33:03 AM7/29/16
to AdWords API Forum
We upgraded from 201601 to 201605 and started getting CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR error when pausing Ads.

The documentation says this happens when we try to modify anything in the Ad other than its status:

However, we're attempting to modify only the status.

Our code worked for years with previous API versions.

We're using the Java lib.

Any ideas what is going on?

Oliver

Anthony Madrigal

unread,
Jul 29, 2016, 11:31:40 AM7/29/16
to AdWords API Forum
Hi Oliver,

Are you using the Ad object and not a subtype such as TextAd? If so, could you please provide me with your SOAP logs via reply privately to user so I can see what's going on?

Regards,
Anthony
AdWords API Team
Message has been deleted

Oliver

unread,
Jul 29, 2016, 11:33:42 AM7/29/16
to AdWords API Forum
I'm using the TextAd object.

As I said, we've been running this code for years without any problems.  There is nothing in the release notes about any change to how Ad statuses are changed.

Anthony Madrigal

unread,
Jul 29, 2016, 4:37:24 PM7/29/16
to AdWords API Forum
Hi Oliver,

As I stated earlier, you will need to use the Ad object. I will inform my team that there is nothing in the Release Notes stating this and have it updated accordingly.

Cheers,
Anthony
AdWords API Team

Stacie Waleyko

unread,
Aug 11, 2016, 5:20:34 PM8/11/16
to AdWords API Forum
Hi Anthony,

I could be mistaken but it doesn't look like the release notes or migration guide have been updated. I ran into this by surprise today and am grateful for Oliver's post.

Stacie

Anthony Madrigal

unread,
Aug 11, 2016, 6:17:01 PM8/11/16
to AdWords API Forum
Hi Stacie,

Unfortunately, the team has not yet updated the Release Notes. I will try and speed up the process and inform you when they get updated. 
Reply all
Reply to author
Forward
0 new messages