Advertiser Management API
The DT Offer Wall Advertiser Management API allows you to update application bids automatically through a GraphQL endpoint. This API is intended for programmatic access only. The API token is only available in the ACP Edge console.
Authentication and Obtaining an API Token
Every request to the DT Offer Wall Advertiser Management API must be authenticated with an API token. This token identifies the advertiser account.
To create an API Token:
In the ACP Edge Console, go to Account→Security Tokens and click Add Token. The Create Token window appears.

Select Management API Token and click Create.

To copy and save your newly created token, click Copy Last Created Token and save the copied token in a secure location.
You must keep a copy of your token. It is displayed only once when generated, and cannot be retrieved again.
Authentication
To authenticate your GraphQL query, set x-api-key HTTP header with the token, for example:
The API endpoint is:
Request
campaignBulkBidsManage allows you to update bids in bulk and change a campaign's activation status.
GraphQL Query
GraphQL Variables
Parameters
offerCmsId(Required): Campaign ID in the legacy CMS format. It appears below the Product Name column on the ACP Edge Dashboard. Alternatively, you can retrieve it by including thecmsIdfield to get it back in the response. For more information, see Query Offer.

offerEnabled(Optional, boolean):trueenables an offer;false, disables an offer. If not provided, the offer status remains unchanged.bidsList(Required, array): An array of bid objects that can be updated in bulk. Every element of the array can contain up to four options: two filter matching bids, and the remaining two set desired parameters. All elements are matched against the topofferCmsIdwhich means that a single request can only update bids for one campaign.applicationId(Optional, string): Filters for applications using its CMS ID. It appears below the Campaign Name in the ACP Edge Dashboard.

SupplyApplicationsListQuery and include thecmsldfield to get it back in the response.countryCode(Optional, string): Filtering option. Filters for a specific country using its ISO 3166-1 alpha-2 (two letters) country code. Only bids set for this country are updated. You can see the country's ISO code for any country by calling aCountriesListquery.bid(Optional, string): Setter option. Sets the bid value for all matching applications and/or country codes or the top-level offer. This field can be set in two ways:As a string representing float value, such as
2.71by setting a bid to that value.As a word
defaultsets the bid to the default country value (which can be a default value for an offer).dailyBudget(Optional, string): Sets the new daily budget for the matching offer or country. This field can be set in two ways:As a string representing float value such as
2.71.As a word
defaultsets the bid to the default country value (which can be a default value for an offer).
Validation
To ensure data integrity, the following rules apply to each bidsListelement element, before any destructive action takes place:
bidordailyBudgethas to be set specifically for application or can be set both for offer or countries.A
bidcannot be set todefaultif acountryCodeis not set.A
dailyBudgetcannot be set at theapplicationIdlevel.An
applicationIdcannot be set without acountryCode.A
countryCodemust be targeted by a campaign associated withofferCmsId.An
applicationIdmust be targeted by a campaign associated withofferCmsId.A
dailyBudgetcannot be set for both the offer campaign and the country code simultaneously (this includes offers that already have a daily budget configured).
Examples
HTTP
curl
GO
Java
node.js
Ruby
Query Offer
You can run queries to retrieve attributes from an offer and other related records, as shown in the following example:
GraphQL Query
Fragments are included only for brevity. You can also use the full GraphQL query with all associations nested.
GraphQL Variables
Parameters
cmsId(Optional, required ifidnot used): The offer ID in the legacy CMS format, which appears on the ACP Edge Dashboard next to the offer name.id(Optional, required ifcmsIdis not used): The offer ID, which you can extract from the edit/view offer URL. For example, inhttps://acp-edge.fyber.com/editOffer/1234, the ID is1234.
You must provide either cmsId or id, but not both. If both are included, the API returns an error.
Last updated
