Getting INVALID_VALUE(The field\'s value is invalid) while creating conversionAction with always_use_default_value as false

62 views
Skip to first unread message

chandra Shekhar

unread,
Jun 1, 2023, 4:18:20 AM6/1/23
to Google Ads API and AdWords API Forum
Hi Team, 

I am trying making conversion with always_use_default_value as false
but its giving error

Below is the operation, error and request ID:

create {
  status: ENABLED
  type: GOOGLE_PLAY_DOWNLOAD
  category: DOWNLOAD
  value_settings {
    default_value: 1.0
    default_currency_code: "USD"
    always_use_default_value: false
  }
  mobile_app_vendor: GOOGLE_APP_STORE
  name: "Test AD-100076 (Android)"
  click_through_lookback_window_days: 30
  view_through_lookback_window_days: 1
  app_id: "com.crrepa.band.dafit"
}

com.google.ads.googleads.v13.errors.GoogleAdsException: errors {
  error_code {
    field_error: INVALID_VALUE
  }
  message: "The field\'s value is invalid."
  trigger {
    boolean_value: false
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "value_settings"
    }
    field_path_elements {
      field_name: "always_use_default_value"
    }
  }
}
request_id: "PK-Ef93seE8pOsmAM3mHMA"

kindly help me resolve this, ASAP.Thanks!

chandra Shekhar

unread,
Jun 4, 2023, 10:16:48 PM6/4/23
to Google Ads API and AdWords API Forum
Hi team , any updates

Google Ads API Forum Advisor

unread,
Jun 5, 2023, 3:40:30 AM6/5/23
to chandra...@knorex.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to Google Ads API Forum. 

Upon checking your logs, it appears that you are getting an INVALID_VALUE error. Please note that as per this documentation (https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions#validations), the value_settings for a WEBSITE_CALL or AD_CALL conversion action must have always_use_default_value set to true. Specifying a value of false when creating or updating this value results in an INVALID_VALUE error. 

Additionally, you may check this guide (https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions) as reference for creating conversion actions. Please let us know how it goes.

This message is in relation to case "ref:_00D1U1174p._5004Q2lvXSf:ref"

Thanks,
 
Google Logo Google Ads API Team


chandra Shekhar

unread,
Jun 5, 2023, 1:24:51 PM6/5/23
to Google Ads API and AdWords API Forum
Thanks for the response team

Just to conclude this- Is the above is from recent changes of V13 
if yes then where I can find old references??

Google Ads API Forum Advisor

unread,
Jun 8, 2023, 2:32:13 PM6/8/23
to chandra...@knorex.com, adwor...@googlegroups.com

Hi,

Thank you for getting back to us.

Upon checking, it appears that the validation rule that we have mentioned is not in any of our recent release notes (https://developers.google.com/google-ads/api/docs/release-notes). With this, this rule applies to all supported API versions at the moment.

I hope this clarifies your concern. Let us know if you have any additional questions.

Reply all
Reply to author
Forward
0 new messages