google_api_ad_exchange_buyer v0.9.0 GoogleApi.AdExchangeBuyer.V14.Api.PretargetingConfig View Source

API calls for all endpoints tagged PretargetingConfig.

Link to this section Summary

Link to this section Functions

Link to this function

adexchangebuyer_pretargeting_config_delete(connection, account_id, config_id, optional_params \\ [], opts \\ []) View Source

Deletes an existing pretargeting config.

Parameters

  • connection (GoogleApi.AdExchangeBuyer.V14.Connection): Connection to server
  • account_id (String.t): The account id to delete the pretargeting config for.
  • config_id (String.t): The specific id of the configuration to delete.
  • 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.

Returns

{:ok, %{}} on success {:error, info} on failure

Link to this function

adexchangebuyer_pretargeting_config_get(connection, account_id, config_id, optional_params \\ [], opts \\ []) View Source

Gets a specific pretargeting configuration

Parameters

  • connection (GoogleApi.AdExchangeBuyer.V14.Connection): Connection to server
  • account_id (String.t): The account id to get the pretargeting config for.
  • config_id (String.t): The specific id of the configuration to retrieve.
  • 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.

Returns

{:ok, %GoogleApi.AdExchangeBuyer.V14.Model.PretargetingConfig{}} on success {:error, info} on failure

Link to this function

adexchangebuyer_pretargeting_config_insert(connection, account_id, optional_params \\ [], opts \\ []) View Source

Inserts a new pretargeting configuration.

Parameters

  • connection (GoogleApi.AdExchangeBuyer.V14.Connection): Connection to server
  • account_id (String.t): The account id to insert the pretargeting config for.
  • 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 (PretargetingConfig):

Returns

{:ok, %GoogleApi.AdExchangeBuyer.V14.Model.PretargetingConfig{}} on success {:error, info} on failure

Link to this function

adexchangebuyer_pretargeting_config_list(connection, account_id, optional_params \\ [], opts \\ []) View Source

Retrieves a list of the authenticated user's pretargeting configurations.

Parameters

  • connection (GoogleApi.AdExchangeBuyer.V14.Connection): Connection to server
  • account_id (String.t): The account id to get the pretargeting configs for.
  • 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.

Returns

{:ok, %GoogleApi.AdExchangeBuyer.V14.Model.PretargetingConfigList{}} on success {:error, info} on failure

Link to this function

adexchangebuyer_pretargeting_config_patch(connection, account_id, config_id, optional_params \\ [], opts \\ []) View Source

Updates an existing pretargeting config. This method supports patch semantics.

Parameters

  • connection (GoogleApi.AdExchangeBuyer.V14.Connection): Connection to server
  • account_id (String.t): The account id to update the pretargeting config for.
  • config_id (String.t): The specific id of the configuration to update.
  • 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 (PretargetingConfig):

Returns

{:ok, %GoogleApi.AdExchangeBuyer.V14.Model.PretargetingConfig{}} on success {:error, info} on failure

Link to this function

adexchangebuyer_pretargeting_config_update(connection, account_id, config_id, optional_params \\ [], opts \\ []) View Source

Updates an existing pretargeting config.

Parameters

  • connection (GoogleApi.AdExchangeBuyer.V14.Connection): Connection to server
  • account_id (String.t): The account id to update the pretargeting config for.
  • config_id (String.t): The specific id of the configuration to update.
  • 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 (PretargetingConfig):

Returns

{:ok, %GoogleApi.AdExchangeBuyer.V14.Model.PretargetingConfig{}} on success {:error, info} on failure