Module Expr Str ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore ListLoad Dict Str Str Str Dict Str Str NameLoad NameLoad Dict Str Str Str Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad NameLoad Index Str body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad
N/A N/A This example adds a label to multiple campaigns.

The LoadFromStorage method is pulling credentials and properties from a
"googleads.yaml" file. By default, it looks for this file in your home
directory. For more information, see the "Caching authentication information"
section of our README.

 googleads adwords N/A CAMPAIGN_ID1 INSERT_FIRST_CAMPAIGN_ID_HERE N/A CAMPAIGN_ID2 INSERT_SECOND_CAMPAIGN_ID_HERE N/A LABEL_ID INSERT_LABEL_ID_HERE main N/A N/A client campaign_id1 campaign_id2 label_id N/A N/A N/A campaign_service N/A N/A client GetService CampaignService version v201601 N/A operations N/A N/A operator operand ADD N/A campaignId labelId campaign_id1 label_id N/A operator operand ADD N/A campaignId labelId campaign_id2 label_id N/A result N/A N/A campaign_service mutateLabel operations N/A label N/A result N/A value N/A N/A N/A CampaignLabel with campaignId '%s' and labelId '%s' was added. N/A N/A label N/A campaignId N/A label N/A labelId N/A N/A N/A __name__ __main__ N/A N/A adwords_client N/A N/A N/A adwords AdWordsClient LoadFromStorage N/A N/A main adwords_client CAMPAIGN_ID1 CAMPAIGN_ID2 LABEL_ID