google_api_double_click_search v0.2.0 GoogleApi.DoubleClickSearch.V2.Api.Conversion View Source

API calls for all endpoints tagged Conversion.

Link to this section Summary

Link to this section Functions

Link to this function

doubleclicksearch_conversion_get(connection, agency_id, advertiser_id, engine_account_id, end_date, row_count, start_date, start_row, optional_params \\ [], opts \\ []) View Source

Retrieves a list of conversions from a DoubleClick Search engine account.

Parameters

  • connection (GoogleApi.DoubleClickSearch.V2.Connection): Connection to server
  • agency_id (String.t): Numeric ID of the agency.
  • advertiser_id (String.t): Numeric ID of the advertiser.
  • engine_account_id (String.t): Numeric ID of the engine account.
  • end_date (integer()): Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • row_count (integer()): The number of conversions to return per call.
  • start_date (integer()): First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • start_row (integer()): The 0-based starting index for retrieving conversions results.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :adGroupId (String.t): Numeric ID of the ad group.
    • :adId (String.t): Numeric ID of the ad.
    • :campaignId (String.t): Numeric ID of the campaign.
    • :criterionId (String.t): Numeric ID of the criterion.

Returns

{:ok, %GoogleApi.DoubleClickSearch.V2.Model.ConversionList{}} on success {:error, info} on failure

Link to this function

doubleclicksearch_conversion_insert(connection, optional_params \\ [], opts \\ []) View Source

Inserts a batch of new conversions into DoubleClick Search.

Parameters

  • connection (GoogleApi.DoubleClickSearch.V2.Connection): Connection to server
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (ConversionList):

Returns

{:ok, %GoogleApi.DoubleClickSearch.V2.Model.ConversionList{}} on success {:error, info} on failure

Link to this function

doubleclicksearch_conversion_patch(connection, advertiser_id, agency_id, end_date, engine_account_id, row_count, start_date, start_row, optional_params \\ [], opts \\ []) View Source

Updates a batch of conversions in DoubleClick Search. This method supports patch semantics.

Parameters

  • connection (GoogleApi.DoubleClickSearch.V2.Connection): Connection to server
  • advertiser_id (String.t): Numeric ID of the advertiser.
  • agency_id (String.t): Numeric ID of the agency.
  • end_date (integer()): Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • engine_account_id (String.t): Numeric ID of the engine account.
  • row_count (integer()): The number of conversions to return per call.
  • start_date (integer()): First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • start_row (integer()): The 0-based starting index for retrieving conversions results.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (ConversionList):

Returns

{:ok, %GoogleApi.DoubleClickSearch.V2.Model.ConversionList{}} on success {:error, info} on failure

Link to this function

doubleclicksearch_conversion_update(connection, optional_params \\ [], opts \\ []) View Source

Updates a batch of conversions in DoubleClick Search.

Parameters

  • connection (GoogleApi.DoubleClickSearch.V2.Connection): Connection to server
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (ConversionList):

Returns

{:ok, %GoogleApi.DoubleClickSearch.V2.Model.ConversionList{}} on success {:error, info} on failure

Link to this function

doubleclicksearch_conversion_update_availability(connection, optional_params \\ [], opts \\ []) View Source

Updates the availabilities of a batch of floodlight activities in DoubleClick Search.

Parameters

  • connection (GoogleApi.DoubleClickSearch.V2.Connection): Connection to server
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :empty (UpdateAvailabilityRequest):

Returns

{:ok, %GoogleApi.DoubleClickSearch.V2.Model.UpdateAvailabilityResponse{}} on success {:error, info} on failure