Microsoft AdvertisingMicrosoft AdvertisingAdvertising

List your Microsoft Ads campaigns — status, budget

microsoft-ads.query

Campaigns in your Microsoft Advertising account, with status, budget and bid strategy

가격
free정가 기준
성공률
—성공률 데이터가 아직 없습니다성공률 데이터가 아직 없습니다
지연 시간 p50
——
마지막 검증
—아직 검증되지 않음
POSThttps://toolswitch.dev/v1/tools/microsoft-ads.queryBeta
  • 플랫폼 할당량 사용
  • 동기 응답
  • 공개 데이터 읽기

파라미터

returns Campaigns[] with Id, Name, Status, DailyBudget, BudgetType, BiddingScheme, StartDate/EndDate, Languages and CampaignType. DailyBudget is a plain decimal in the ACCOUNT CURRENCY — not micros, not cents, unlike Google and Meta. No performance metrics: pair with the Reporting service for spend and clicks

파라미터유형필수설명예시
요청 본문(JSON)
AccountId정수필수the ad account id (a long). Must equal the CustomerAccountId header123456789
CampaignType문자열선택SPACE-DELIMITED flags, not an array: "Search Shopping DynamicSearchAds Audience PerformanceMax". DEFAULTS TO Search — omit it and Shopping/PMax campaigns are silently missing from the resultSearch Shopping PerformanceMax
ReturnAdditionalFields문자열선택space-delimited opt-ins for newer properties, e.g. "AdScheduleUseSearcherTimeZone BidStrategyId"BidStrategyId
  • 요청 본문(JSON)
  • AccountId정수필수

    the ad account id (a long). Must equal the CustomerAccountId header

    예시: 123456789

  • CampaignType문자열선택

    SPACE-DELIMITED flags, not an array: "Search Shopping DynamicSearchAds Audience PerformanceMax". DEFAULTS TO Search — omit it and Shopping/PMax campaigns are silently missing from the result

    예시: Search Shopping PerformanceMax

  • ReturnAdditionalFields문자열선택

    space-delimited opt-ins for newer properties, e.g. "AdScheduleUseSearcherTimeZone BidStrategyId"

    예시: BidStrategyId

코드 예제

$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/microsoft-ads.query' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

게이트웨이 API는 Beta이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 free이며 서비스 수수료가 포함되어 있습니다.