Ads API •References / Estimate / Get Cost Estimate
Get Cost Estimate
Request
- ad_account_idstring [uuid]Required
- optimization_goalstring [optimization-goal]Allowed values:
"ARTIST_BOOST"
Example:"ARTIST_BOOST"
- maxintegerRequiredRange:
13
-65
Example:65
- minintegerRequiredRange:
13
-65
Example:13
- artist_idsarray of strings
- city_idsarray of integers
- country_codesarray of stringsExample:
"US"
- dma_idsarray of integers
- gender_namesarray of GenderAllowed values:
"MALE"
,"FEMALE"
,"NON_BINARY"
Example:"MALE"
- genre_idsarray of strings
- platform_namesarray of PlatformAllowed values:
"IOS"
,"DESKTOP"
,"ANDROID"
,"OTHER"
Example:"IOS"
- playlist_idsarray of strings
- region_idsarray of integers
- custom_audience_idsarray of strings
- slot_typestring [slot-type]RequiredAllowed values:
"AUDIO"
,"VIDEO"
Example:"AUDIO"
Response
- cost_modelstring [ad-set-cost-model]Allowed values:
"CPCL"
,"CPM"
,"CPC"
,"UNSET"
Example:"CPCL"
- unit_cost_micro_amountinteger [int64]Example:
5000000
Response sample
{ "cost_model": { }, "unit_cost_micro_amount": 5000000}