Skip to content

docs: ads-api campaigns use LINE_ITEM budget optimization only#211

Open
mbhatiai wants to merge 1 commit into
xdevplatform:mainfrom
mbhatiai:mbhatia/ads-api-budget-optimization-line-item
Open

docs: ads-api campaigns use LINE_ITEM budget optimization only#211
mbhatiai wants to merge 1 commit into
xdevplatform:mainfrom
mbhatiai:mbhatia/ads-api-budget-optimization-line-item

Conversation

@mbhatiai

Copy link
Copy Markdown

Summary

Updates the Campaign Management API reference to reflect that campaigns only support LINE_ITEM budget optimization (CAMPAIGN-level budget optimization is no longer supported).

  • budget_optimization: documents LINE_ITEM as the only possible value and the default (was CAMPAIGN), in both the create (POST) and update (PUT) parameter tables.
  • standard_delivery: marked deprecated at the campaign level — standard vs. accelerated delivery is now configured on the line item via its own standard_delivery parameter.
  • Example requests/responses updated to match: budget_optimization CAMPAIGNLINE_ITEM, campaign-level standard_deliverynull, and dropped standard_delivery from the create example request. Also fixed the CAMPIAGN typo in the example URL.

This aligns the docs with the X Ads Manager UI, which always sends budget_optimization: LINE_ITEM and sets pacing/standard_delivery per line item.

Scope

Single file: x-ads-api/campaign-management/reference.mdx (22 insertions, 23 deletions). No content changes outside the campaign endpoints; the unrelated entity_type enum and line-item standard_delivery docs are untouched.

Test plan

  • Verify the rendered budget_optimization and standard_delivery parameter tables on the create/update campaign sections
  • Confirm example JSON blocks still parse and read consistently

Made with Cursor

@CLAassistant

CLAassistant commented Jun 26, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Update the Campaign Management reference so budget_optimization documents
LINE_ITEM as the only supported value (CAMPAIGN-level budget optimization is
no longer supported). standard_delivery is now configured on the line item,
so the campaign-level parameter is marked deprecated. Example requests and
responses are updated accordingly (CAMPAIGN -> LINE_ITEM, campaign-level
standard_delivery -> null, fixed the CAMPIAGN typo).

This matches the X Ads Manager UI, which always sends budget_optimization
LINE_ITEM and sets pacing/standard_delivery per line item.
@mbhatiai mbhatiai force-pushed the mbhatia/ads-api-budget-optimization-line-item branch from c942fa3 to 9ee4d0e Compare June 27, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants