Skip to content

Commit 5fdb46e

Browse files
committed
Added URI reference from docs on how to deal with temporary ids.
1 parent 5229f4e commit 5fdb46e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/asyncio/async_add_campaigns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ async def main(client: GoogleAdsClient, customer_id: str) -> None:
5151
# we need to use a temporary resource name for the budget to reference it
5252
# in the campaign.
5353
# Temporary resource names must be negative integers formatted as strings.
54+
# https://developers.google.com/google-ads/api/docs/batch-processing/temporary-ids
5455
budget_resource_name: str = f"customers/{customer_id}/campaignBudgets/-1"
5556

5657
mutate_operations: List[MutateOperation] = []

0 commit comments

Comments
 (0)