Hello,

I am trying to create a CampaignCriterion with a bid modifier. My request 
is as follows:

Method: 
/google.ads.googleads.v7.services.CampaignCriterionService/MutateCampaignCriteria

Host: googleads.googleapis.com

Headers: {

  "developer-token": "REDACTED",

  "login-customer-id": "REDACTED",

  "x-goog-api-client": "REDACTED",

  "x-goog-request-params": "customer_id=REDACTED"

}

Request: customer_id: "REDACTED"

operations {

  create {

    income_range {

      type_: INCOME_RANGE_90_UP

    }

    campaign: "customers/REDACTED/campaigns/REDACTED"

    bid_modifier: 3.0

    negative: false

  }

}

Even though negative is set to false the response that I get is the 
following:

error_code {

    criterion_error: FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING

  }

  message: "The field is not allowed to be set when the negative field is 
set to true, e.g. we don\'t allow bids in negative ad group or campaign 
criteria."

  location {

    field_path_elements {

      field_name: "operations"

      index: 0

    }

    field_path_elements {

      field_name: "create"

    }

    field_path_elements {

      field_name: "income_range"

    }

  }

Negative clearly seems to be getting set to false. Not sure what the issue 
is here. Any help would be greatly appreciated.

Thanks,
Will

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/63d23879-82c1-4b2e-8c32-23b8c165072fn%40googlegroups.com.
  • Ca... Will Schymik
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to