Hi,

While creating call asset then we are getting 
CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED error.

Following is Request and response

MethodName: google.ads.googleads.v10.services.AssetService/MutateAssets
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=123456789, 
x-goog-api-client=gl-java/1.8.0_144 gccl/0.0.0 gapic/ gax/2.6.1 grpc/}
Body: customer_id: "12345678"
operations {
  create {
    call_asset {
      country_code: "US"
      phone_number: "(123)456-7777"
    }
  }
}


Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=xLgsP2oCvIcnA_aHzQFWYQ,date=Wed,
 
06 Apr 2022 11:37:25 GMT,alt-svc=h3=":443"; m
a=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; 
ma=2592000,quic=":443"; ma=25920
00; v="46,43")
Body: null
Failure message: errors {
  error_code {
    asset_error: CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED
  }
  message: "Customer consent for call recording Terms of Service is 
required to use CallAsset."
  trigger {
    string_value: "US"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
   field_path_elements {
      field_name: "call_asset"
    }
    field_path_elements {
      field_name: "country_code"
    }
  }
}

Thanks
Anil Kumar Halmadgi

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2ce8cecf-fef7-41cd-a160-a20adbb8c683n%40googlegroups.com.

Reply via email to