Struct gapi_grpc::google::ads::googleads::v7::resources::Customer[][src]

pub struct Customer {
    pub resource_name: String,
    pub id: i64,
    pub descriptive_name: String,
    pub currency_code: String,
    pub time_zone: String,
    pub tracking_url_template: String,
    pub final_url_suffix: String,
    pub auto_tagging_enabled: bool,
    pub has_partners_badge: bool,
    pub manager: bool,
    pub test_account: bool,
    pub call_reporting_setting: Option<CallReportingSetting>,
    pub conversion_tracking_setting: Option<ConversionTrackingSetting>,
    pub remarketing_setting: Option<RemarketingSetting>,
    pub pay_per_conversion_eligibility_failure_reasons: Vec<i32>,
    pub optimization_score: f64,
    pub optimization_score_weight: f64,
}

A customer.

Fields

resource_name: String

Immutable. The resource name of the customer. Customer resource names have the form:

customers/{customer_id}

id: i64

Output only. The ID of the customer.

descriptive_name: String

Optional, non-unique descriptive name of the customer.

currency_code: String

Immutable. The currency in which the account operates. A subset of the currency codes from the ISO 4217 standard is supported.

time_zone: String

Immutable. The local timezone ID of the customer.

tracking_url_template: String

The URL template for constructing a tracking URL out of parameters.

final_url_suffix: String

The URL template for appending params to the final URL

auto_tagging_enabled: bool

Whether auto-tagging is enabled for the customer.

has_partners_badge: bool

Output only. Whether the Customer has a Partners program badge. If the Customer is not associated with the Partners program, this will be false. For more information, see https://support.google.com/partners/answer/3125774.

manager: bool

Output only. Whether the customer is a manager.

test_account: bool

Output only. Whether the customer is a test account.

call_reporting_setting: Option<CallReportingSetting>

Call reporting setting for a customer.

conversion_tracking_setting: Option<ConversionTrackingSetting>

Output only. Conversion tracking setting for a customer.

remarketing_setting: Option<RemarketingSetting>

Output only. Remarketing setting for a customer.

pay_per_conversion_eligibility_failure_reasons: Vec<i32>

Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. This field is read-only.

optimization_score: f64

Output only. Optimization score of the customer.

Optimization score is an estimate of how well a customer’s campaigns are set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null for all manager customers, and for unscored non-manager customers.

See “About optimization score” at https://support.google.com/google-ads/answer/9061546.

This field is read-only.

optimization_score_weight: f64

Output only. Optimization score weight of the customer.

Optimization score weight can be used to compare/aggregate optimization scores across multiple non-manager customers. The aggregate optimization score of a manager is computed as the sum over all of their customers of Customer.optimization_score * Customer.optimization_score_weight. This field is 0 for all manager customers, and for unscored non-manager customers.

This field is read-only.

Implementations

impl Customer[src]

pub fn pay_per_conversion_eligibility_failure_reasons(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<CustomerPayPerConversionEligibilityFailureReason>>
[src]

Returns an iterator which yields the valid enum values contained in pay_per_conversion_eligibility_failure_reasons.

pub fn push_pay_per_conversion_eligibility_failure_reasons(
    &mut self,
    value: CustomerPayPerConversionEligibilityFailureReason
)
[src]

Appends the provided enum value to pay_per_conversion_eligibility_failure_reasons.

Trait Implementations

impl Clone for Customer[src]

impl Debug for Customer[src]

impl Default for Customer[src]

impl Message for Customer[src]

impl PartialEq<Customer> for Customer[src]

impl StructuralPartialEq for Customer[src]

Auto Trait Implementations

impl RefUnwindSafe for Customer

impl Send for Customer

impl Sync for Customer

impl Unpin for Customer

impl UnwindSafe for Customer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]