Help: OPERATOR_NOT_SUPPORTED

30 views
Skip to first unread message

Trang chan

unread,
Aug 26, 2020, 11:09:27 AM8/26/20
to AdWords API and Google Ads API Forum
Hi,
I want to create a campaign from Google API, but it got some error :
OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]

My code below. Plz help me!

[0] => Google\AdsApi\AdWords\v201809\cm\CampaignCriterionOperation Object
        (
            [operand:protected] => Google\AdsApi\AdWords\v201809\cm\CampaignCriterion Object
                (
                    [campaignId:protected] => 10956373892
                    [isNegative:protected] => 
                    [criterion:protected] => Google\AdsApi\AdWords\v201806\cm\Proximity Object
                        (
                            [geoPoint:protected] => Google\AdsApi\AdWords\v201806\cm\GeoPoint Object
                                (
                                    [latitudeInMicroDegrees:protected] => 105.84423243999
                                    [longitudeInMicroDegrees:protected] => 21.0284304373
                                )

                            [radiusDistanceUnits:protected] => KILOMETERS
                            [radiusInUnits:protected] => 10
                            [address:protected] => 
                            [id:protected] => 
                            [type:protected] => 
                            [CriterionType:protected] => 
                            [parameterMap:Google\AdsApi\AdWords\v201806\cm\Criterion:private] => Array
                                (
                                    [Criterion.Type] => CriterionType
                                )

                        )

                    [bidModifier:protected] => 
                    [campaignCriterionStatus:protected] => 
                    [baseCampaignId:protected] => 
                    [forwardCompatibilityMap:protected] => 
                    [CampaignCriterionType:protected] => 
                    [parameterMap:Google\AdsApi\AdWords\v201809\cm\CampaignCriterion:private] => Array
                        (
                            [CampaignCriterion.Type] => CampaignCriterionType
                        )

                )

            [operator:protected] => ADD
            [OperationType:protected] => 
            [parameterMap:Google\AdsApi\AdWords\v201809\cm\Operation:private] => Array
                (
                    [Operation.Type] => OperationType
                )

        )

Google Ads API Forum Advisor Prod

unread,
Aug 26, 2020, 3:18:12 PM8/26/20
to trangc...@gmail.com, adwor...@googlegroups.com
Hello,

Can you please share the full SOAP request and response for this API call so I can take a closer look? Please use reply privately to author when doing so.

Thanks,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q23urOh:ref
Message has been deleted

Google Ads API Forum Advisor Prod

unread,
Aug 27, 2020, 10:43:39 AM8/27/20
to trangc...@gmail.com, adwor...@googlegroups.com
Hi,

I removed your last post as it contained sensitive information. I noticed in your code that you have some places where you have v201806. Please change them all to v201809 and let me know how it goes. If you are still facing issues, please let me know which client library you are using so that I can help you get your logs.

Regards,

Trang chan

unread,
Aug 27, 2020, 9:14:35 PM8/27/20
to AdWords API and Google Ads API Forum
Hi,
Thank you for your help,
Luckily, we find out the anwser.
We miss some settings, but we fix it out.
Thanks


Vào lúc 21:43:39 UTC+7 ngày Thứ Năm, 27 tháng 8, 2020, adsapiforumadvisor đã viết:
Reply all
Reply to author
Forward
0 new messages