docs: ads-api campaigns use LINE_ITEM budget optimization only#211
Open
mbhatiai wants to merge 1 commit into
Open
docs: ads-api campaigns use LINE_ITEM budget optimization only#211mbhatiai wants to merge 1 commit into
mbhatiai wants to merge 1 commit into
Conversation
tcaldwell-x
approved these changes
Jun 26, 2026
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.
c942fa3 to
9ee4d0e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Campaign Management API reference to reflect that campaigns only support
LINE_ITEMbudget optimization (CAMPAIGN-level budget optimization is no longer supported).budget_optimization: documentsLINE_ITEMas the only possible value and the default (wasCAMPAIGN), 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 ownstandard_deliveryparameter.budget_optimizationCAMPAIGN→LINE_ITEM, campaign-levelstandard_delivery→null, and droppedstandard_deliveryfrom the create example request. Also fixed theCAMPIAGNtypo in the example URL.This aligns the docs with the X Ads Manager UI, which always sends
budget_optimization: LINE_ITEMand sets pacing/standard_deliveryper line item.Scope
Single file:
x-ads-api/campaign-management/reference.mdx(22 insertions, 23 deletions). No content changes outside the campaign endpoints; the unrelatedentity_typeenum and line-itemstandard_deliverydocs are untouched.Test plan
budget_optimizationandstandard_deliveryparameter tables on the create/update campaign sectionsMade with Cursor