API Endpoints
Campaign

/external/v2/advertisers/{advertiserId}/campaigns

POST
https://<pcm-domain>/external/v2/advertisers/{advertiserId}/campaigns
Generated server url

Creates a campaign with mandatory fields name, marketId and budget.

Rules:

  • Campaign name must be unique under an advertiser.

Allowed values for attributes are as follows:

  • marketId:
    • 1- Argentina(AR)
    • 2- Australia(AU)
    • 3- Austria(AT)
    • 4- Belgium(BE)
    • 5- Brazil(BR)
    • 6- Canada(CA)
    • 7- Colombia(CO)
    • 8- Czech Republic(CZ)
    • 9- Denmark(DK)
    • 10- France(FR)
    • 11- Germany(DE)
    • 12- Hong Kong(HK)
    • 13- India(IN)
    • 14- Indonesia(ID)
    • 15- Ireland(IE)
    • 16- Israel(IL)
    • 17- Italy(IT)
    • 18- Malaysia(MY)
    • 19- Mexico(MX)
    • 20- Netherlands(NL)
    • 21- New Zealand(NZ)
    • 22- Norway(NO)
    • 23- Philippines(PH)
    • 24- Poland(PL)
    • 25- Portugal(PT)
    • 26- Russia(RU)
    • 27- Saudi Arabia(SA)
    • 28- Singapore(SG)
    • 29- South Africa(ZA)
    • 30- Spain(ES)
    • 31- Sweden(SE)
    • 32- Switzerland(CH)
    • 33- Taiwan(TW)
    • 34- Thailand(TH)
    • 35- Turkey(TR)
    • 36- Ukraine(UA)
    • 37- United Arab Emirates(AE)
    • 38- United Kingdom(GB)
    • 39- USA(US)
Path Parameters
advertiserId
*
Body Parameters
body
*
name
*
marketId
*
budget
*
status
Responses
200
OK
id
marketId
name
status
budget
budgetSpent
budgetUnallocated
deletable
spendVelocity
startDate
endDate
modifiedAt
401
Unauthorized
403
Forbidden
404
Not Found
messages
422
Unprocessable Entity
messages