Enum googapis::google::ads::googleads::v9::errors::authorization_error_enum::AuthorizationError [−][src]
#[repr(i32)]
pub enum AuthorizationError {
Show 15 variants
Unspecified,
Unknown,
UserPermissionDenied,
DeveloperTokenNotOnAllowlist,
DeveloperTokenProhibited,
ProjectDisabled,
AuthorizationError,
ActionNotPermitted,
IncompleteSignup,
CustomerNotEnabled,
MissingTos,
DeveloperTokenNotApproved,
InvalidLoginCustomerIdServingCustomerIdCombination,
ServiceAccessDenied,
AccessDeniedForAccountType,
}
Expand description
Enum describing possible authorization errors.
Variants
Enum unspecified.
The received error code is not known in this version.
User doesn’t have permission to access customer. Note: If you’re
accessing a client customer, the manager’s customer ID must be set in the
login-customer-id
header. Learn more at
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
The developer token is not on the allow-list.
The developer token is not allowed with the project sent in the request.
The Google Cloud project sent in the request does not have permission to access the api.
Authorization of the client failed.
The user does not have permission to perform this action (e.g., ADD, UPDATE, REMOVE) on the resource or call a method.
Signup not complete.
The customer can’t be used because it isn’t enabled.
The developer must sign the terms of service. They can be found here: ads.google.com/aw/apicenter
The developer token is not approved. Non-approved developer tokens can only be used with test accounts.
The login customer specified does not have access to the account specified, so the request is invalid.
The developer specified does not have access to the service.
The customer (or login customer) isn’t in Google Ads. It belongs to another ads system.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationError
impl Send for AuthorizationError
impl Sync for AuthorizationError
impl Unpin for AuthorizationError
impl UnwindSafe for AuthorizationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more