Create Audit Snapshot
You can create audit snapshots for selected entities for an advertiser using this method. You can retrieve audit snapshots for a window of last thirty days.
URL: POST /api/v1/snapshot/audit
Query Parameters
Parameter | Description | Type | Required | Possible Values |
---|---|---|---|---|
advertiserId | The ID of the advertiser | integer | Y | A valid advertiser ID |
auditRequests | Request for audit information. Only one audit request is allowed per entity type per audit snapshot. This is an array holding following elements: entityType : Type of the entity for which you want to generate audit snapshot. entityIds : list of Ids of the entity type for which you want to generate audit snapshot. Note: 1) Max size of entityId list is 10. 2) Entity Ids should not be duplicate. 3) This field is required and must not be left empty fromDate : The starting date of the time frame for which you want snapshot of selected entities. toDate : The end date of the time frame for which you want snapshot of selected entities | auditRequests :string entityType : string entityIds : numeric fromDate : date toDate : date | Y | entityType possible values:campaign adGroup keyword adItem bidMultiplier placement sbaProfile adGroupMedia category entityIds : A valid entity id.The entityIds are: campaign: campaignId adGroup: adGroupId keyword: keywordId adItem: adItemId bidMultiplier: campaignId placement: campaignId sbaProfile: sbaProfileId adGroupMedia: adGroupMediaId category: categoryBidId fromDate : Format is yyyy-MM-ddtoDate : Format is yyyy-MM-dd |
format | Choose the format type for your snapshot | string | N | Types of Format: gzip, zip Note: gzip allows decompression while file is being transferred over the network, hence it is a faster and simpler way to download the reports. You will receive snapshot in zip format if no specific format is selected. |
Updated 7 days ago