Google Ads Data Manager V1 Client - Class RetrievePartnerMatchReportRequest (0.12.0)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class RetrievePartnerMatchReportRequest.

Request message for DM API ReportingService.RetrievePartnerMatchReport

Generated from protobuf message google.ads.datamanager.v1.RetrievePartnerMatchReportRequest

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent account that owns the user list. Format: accountTypes/{account_type}/accounts/{account}

↳ currency_code string

Optional. The currency to return the costs/fees in. If unspecified, defaults to the Data Partner's currency

↳ filter string

Optional. A filter string to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123). Fields must be specified using either all camel case or all snake case. Don't use a combination of camel case and snake case. Supported Operations: - AND - = - != - > - >= - < - <= Supported Functions: - IN(field, value1, value2, ...): returns true if the field matches any of the values. Example: IN(user_list_id, 123, 456) Supported Fields: - advertiser_account.account_type - advertiser_account.account_id - campaign.campaign_id - ad_group.ad_group_id - user_list.user_list_id

↳ start_date int|string

Required. The start date (inclusive) of the report data to retrieve. Only data from the last 2 years can be retrieved. If the start date is set to an older date, only data from the last 2 years will be returned. Should be in the format YYYYMMDD.

↳ end_date int|string

Optional. The end date (inclusive) of the report data to retrieve. Defaults to the current date if not populated. Should be in the format YYYYMMDD.

↳ page_size int

Optional. The maximum number of partner match report entries to return per page. The service may return fewer than this value. If unspecified, at most 50 reports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

↳ page_token string

Optional. A page token, received from a previous RetrievePartnerMatchReport call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to RetrievePartnerMatchReport must match the call that provided the page token.

getParent

Required. The parent account that owns the user list.

Format: accountTypes/{account_type}/accounts/{account}

Returns
Type Description
string

setParent

Required. The parent account that owns the user list.

Format: accountTypes/{account_type}/accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getCurrencyCode

Optional. The currency to return the costs/fees in. If unspecified, defaults to the Data Partner's currency

Returns
Type Description
string

setCurrencyCode

Optional. The currency to return the costs/fees in. If unspecified, defaults to the Data Partner's currency

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. A filter string to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123). Fields must be specified using either all camel case or all snake case. Don't use a combination of camel case and snake case.

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <= Supported Functions:
  • IN(field, value1, value2, ...): returns true if the field matches any of the values. Example: IN(user_list_id, 123, 456) Supported Fields:
  • advertiser_account.account_type
  • advertiser_account.account_id
  • campaign.campaign_id
  • ad_group.ad_group_id
  • user_list.user_list_id
Returns
Type Description
string

setFilter

Optional. A filter string to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123). Fields must be specified using either all camel case or all snake case. Don't use a combination of camel case and snake case.

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <= Supported Functions:
  • IN(field, value1, value2, ...): returns true if the field matches any of the values. Example: IN(user_list_id, 123, 456) Supported Fields:
  • advertiser_account.account_type
  • advertiser_account.account_id
  • campaign.campaign_id
  • ad_group.ad_group_id
  • user_list.user_list_id
Parameter
Name Description
var string
Returns
Type Description
$this

getStartDate

Required. The start date (inclusive) of the report data to retrieve. Only data from the last 2 years can be retrieved. If the start date is set to an older date, only data from the last 2 years will be returned. Should be in the format YYYYMMDD.

Returns
Type Description
int|string

setStartDate

Required. The start date (inclusive) of the report data to retrieve. Only data from the last 2 years can be retrieved. If the start date is set to an older date, only data from the last 2 years will be returned. Should be in the format YYYYMMDD.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEndDate

Optional. The end date (inclusive) of the report data to retrieve. Defaults to the current date if not populated. Should be in the format YYYYMMDD.

Returns
Type Description
int|string

setEndDate

Optional. The end date (inclusive) of the report data to retrieve. Defaults to the current date if not populated. Should be in the format YYYYMMDD.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of partner match report entries to return per page. The service may return fewer than this value. If unspecified, at most 50 reports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Returns
Type Description
int

setPageSize

Optional. The maximum number of partner match report entries to return per page. The service may return fewer than this value. If unspecified, at most 50 reports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token, received from a previous RetrievePartnerMatchReport call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to RetrievePartnerMatchReport must match the call that provided the page token.

Returns
Type Description
string

setPageToken

Optional. A page token, received from a previous RetrievePartnerMatchReport call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to RetrievePartnerMatchReport must match the call that provided the page token.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent account that owns the user list. Format: accountTypes/{account_type}/accounts/{account}

Returns
Type Description
RetrievePartnerMatchReportRequest