Struct gapi_grpc::google::ads::googleads::v5::resources::AdParameter [−][src]
An ad parameter that is used to update numeric values (such as prices or inventory levels) in any text line of an ad (including URLs). There can be a maximum of two AdParameters per ad group criterion. (One with parameter_index = 1 and one with parameter_index = 2.) In the ad the parameters are referenced by a placeholder of the form “{param#:value}”. E.g. “{param1:$17}”
Fields
resource_name: String
Immutable. The resource name of the ad parameter. Ad parameter resource names have the form:
customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}
ad_group_criterion: String
Immutable. The ad group criterion that this ad parameter belongs to.
parameter_index: i64
Immutable. The unique index of this ad parameter. Must be either 1 or 2.
insertion_text: String
Numeric value to insert into the ad text. The following restrictions apply:
- Can use comma or period as a separator, with an optional period or comma (respectively) for fractional values. For example, 1,000,000.00 and 2.000.000,10 are valid.
- Can be prepended or appended with a currency symbol. For example, $99.99 is valid.
- Can be prepended or appended with a currency code. For example, 99.99USD and EUR200 are valid.
- Can use ‘%’. For example, 1.0% and 1,0% are valid.
- Can use plus or minus. For example, -10.99 and 25+ are valid.
- Can use ‘/’ between two numbers. For example 4/1 and 0.95/0.45 are valid.
Trait Implementations
impl Clone for AdParameter
[src]
fn clone(&self) -> AdParameter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AdParameter
[src]
impl Default for AdParameter
[src]
fn default() -> AdParameter
[src]
impl Message for AdParameter
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<AdParameter> for AdParameter
[src]
fn eq(&self, other: &AdParameter) -> bool
[src]
fn ne(&self, other: &AdParameter) -> bool
[src]
impl StructuralPartialEq for AdParameter
[src]
Auto Trait Implementations
impl RefUnwindSafe for AdParameter
impl Send for AdParameter
impl Sync for AdParameter
impl Unpin for AdParameter
impl UnwindSafe for AdParameter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,