Ad Items API is used to fetch, update all the advertising items added to the campaign catalog.
Usage:
To retrieve and update the list of all the advertising items added to the campaign catalog
Helps in streamlining the campaign creation process and makes it easier to optimize campaigns
Limitations:
A maximum of 50 ad items can be added to an ad group in a single POST batch request
A maximum of 50 ad items can be updated in a single PUT batch request
A maximum of 2000 ad items can be added to an ad group for "Auto Bid" and "Keyword Bid" campaigns
For Search Brand Amplifier or SBA campaigns, you need to add minimum 3 ad items to an ad group. This helps avoid ads from not serving due to an out-of-stock scenario.
A maximum of 10 ad items are allowed to be added to an ad group for Search Brand Amplifier campaigns
Note:
If only 1 ad item remains eligible to serve in a campaign, the ad will stop serving on Desktop but continue to serve on Mobile for Search Brand Amplifier (SBA).
Possible Reasons of Item Upload Failure:
Please consider following scenarios to avoid an item upload failure
When an item is not owned by the advertiser
When item ID is incorrect or not found in catalog
You cannot upload an unpublished item. However, if a published item, added to the campaign becomes unpublished, you can still update it. Please note that ad will stop serving for the item that becomes unpublished after it was added
Details about ‘Request Header' and 'Authorization’ are available in the
Authorization Guide
List Ad Items in a Campaign
Description: Used to retrieve the list of all the products added to the campaign catalog.
Description: Used to add new ad item to the ad group in a campaign.
End Point: /api/v1/adItems
HTTP Method: POST
Body Parameters
Parameter
Description
Type
Required
Possible Values
campaignId
ID of the campaign where the ad group belongs
Integer
Y
Unique numeric identifier
adGroupId
ID of the ad group that is part of the campaign
Integer
Y
Unique numeric identifier
itemId
ID of the product that is being added to ad group
String
Y
String identifier
bid
Maximum cost per clicks for the item in an auto bidding campaign.
Note: Bids on keywords in keyword-bid campaign supersede the item bid you set for items in keyword-bid campaign
Double
Y
Bid values can be in dollars Minimum bid amount is:
$0.20 for auto-bid campaigns
$0.30 for keyword-bid campaigns
$1 for Search Brand Amplifier campaigns
Bid amount will be restricted to first two decimal places for advertisers. Any decimal digit beyond the first 2 digits will be truncated without rounding off.
status
Status of ad item
String
Y
Expected Values: enabled, disabled, deleted
Note: You cannot delete an item from a campaign that has gone live
The campaignId= <campaignId> provided for one of the items is not associated to adGroupId= <adGroupId>
Record id does not match with adgroup/item
You are not authorized to edit this adgroup
Bid should be higher than <floorCpc>
Item Id not found
400
Bad Request
Maximum allowed size in batch is 50
Multiple request for same item id within ad group is not allowed
403
Forbidden
User not Authenticated
AdOps role does not access to any campaigns
You don't have access to this advertiser
404
Not Found
AdGroup not found
429
Too Many Requests
<Exception Message>
500
Internal Server Error
There was an error processing the request
Update Ad Item
Description: Update an existing ad item in an ad group using PUT operation.
End Point: api/v1/adItems
HTTP Method: PUT
Body Parameters
Parameter
Description
Type
Required
Possible Values
campaignId
ID of the campaign where the ad group belongs
Integer
Y
Unique numeric identifier
adGroupId
ID of the ad group that is part of the campaign
Integer
Y
Unique numeric identifier
itemId
ID of the product that is being added to ad group
String
Y
String identifier
bid
Maximum cost per click for the item in an auto bidding campaign.
Note: Bids on keywords in keyword-bid campaign supersede the item bid you set for items in keyword-bid campaign
Double
Y
Bid values can be in dollars Minimum bid amount is:
$0.20 for auto-bid campaigns
$0.30 for keyword-bid campaigns
$1 for Search Brand Amplifier campaigns
Bid amount will be restricted to first two decimal places for advertisers. Any decimal digit beyond the first 2 digits will be truncated without rounding off.
status
Status of ad item
String
Y
Expected values: enabled, disabled, deleted
Note: You cannot delete an item from a campaign that has gone live