ReadEntityCount
Read entity counts
Retrieve the current number of entities and the limits under each ancestor types. Visit the guide document for more details.
get/cm/v1/entity-counts
Request
- Base URLhttps://api.moloco.cloud
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ad_account_idstring
The AdAccount ID of the given entity type. Required for entity types: Product, Campaign, AdGroup, CreativeGroup, Creative, TrackingLink, Target, CustomterSet.
product_idstring
The Product ID of the given entity type. Required for entity types: Campaign, CreativeGroup, Creative.
campaign_idstring
The Campaign ID of the given entity type. Required for entity types: AdGroup.
entity_type'UNKNOWN_ENTITY_TYPE' | 'ENTITY_TYPE_PLATFORM' | 'ENTITY_TYPE_AD_ACCOUNT' | 'ENTITY_TYPE_PRODUCT' | 'ENTITY_TYPE_CAMPAIGN' | 'ENTITY_TYPE_AD_GROUP' | 'ENTITY_TYPE_CREATIVE_GROUP' | 'ENTITY_TYPE_CREATIVE' | 'ENTITY_TYPE_TRACKING_LINK' | 'ENTITY_TYPE_TARGET' | 'ENTITY_TYPE_CUSTOMER_SET' | 'ENTITY_TYPE_CUSTOMER_ACTIVITY' required
Entity type to query for.
Response
A successful response.
Changes
No recorded changes to this operation across all 2 revisions of this API.