INVALID_OPERAND_TYPE, IncomeOperand when setting Location bid modifiers (v201802)

73 views
Skip to first unread message

Charlie

unread,
Jun 7, 2018, 5:48:24 AM6/7/18
to AdWords API and Google Ads API Forum
Hi,

I get INVALID_OPERAND_TYPE for IncomeOperand errors when trying to set bid modifiers for Location in API version 201802.

The problem is almost the same as the one described in this thread:
    https://groups.google.com/forum/#!searchin/adwords-api/INVALID_OPERAND_TYPE|sort:date/adwords-api/T58FSJzSR9w/Qf-aTcDvAQAJ
except that I have Location and not LocationGroups.

What could be going wrong in my case?

Bharani Cherukuri (AdWords API Team)

unread,
Jun 7, 2018, 11:17:26 AM6/7/18
to AdWords API and Google Ads API Forum
Hi Charlie, 

Could you share the complete SOAP request and response logs along with the client customer Id, so I can take a look? You can reply back via Reply privately to author option. 

Regards,
Bharani, AdWords API Team

Bharani Cherukuri (AdWords API Team)

unread,
Jun 11, 2018, 3:08:45 PM6/11/18
to AdWords API and Google Ads API Forum
Hello Charlie, 

Thank you for sharing the details privately. I see that you're receiving the INVALID_CRITERION_ID error which indicates that the location ID used in the request is not valid. Currently AdWords API supports the location IDs available in the GeoTargets table. It looks like you're using the reports results(location bid modifier report not available in AdWords API) generated from another source. It could be the reason as to why these locations are not available in the Geo targets table and hence receiving this error. Can you try the API request with one of the location IDs from here and let me know if you still have any issues?

If you're looking to pull location metrics through the API, you could use the Geo Performance Report and use the location IDs from this report to set the location criteria. 

Bharani Cherukuri (AdWords API Team)

unread,
Jun 25, 2018, 4:55:00 PM6/25/18
to AdWords API and Google Ads API Forum
Hello, 

Here's a brief summary of the last discussion as this might help other forum users who might be facing the similar issue:

The user was receiving INVALID_OPERAND_TYPE error since the user is using the location IDs that were generated from the Campaign Location Target Report. The Campaign Location Target Report returns all the location IDs from the AdWords UI. I was not able to look up this location in the Geo Targets table or using the LocationCriterionService. It looks like the location IDs were from the logs are DMA regions. You will need to contact The Nielsen Company directly for DMA data. Since the criterion IDs are not available in the Geo targets table, it is currently not possible to map these location IDs to the exact location through the AdWords API.

Feel free to open a new thread for any similar or new concerns. Our team will take a look and assist you further. 
Reply all
Reply to author
Forward
0 new messages