Module Expr Str ImportFrom alias Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Dict Str Str ListLoad Str Str Str Str Str Str Str Str ListLoad Dict Str Str Str Str Str ListLoad NameLoad Dict Str Str Str Str Str ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body For NameStore SubscriptLoad NameLoad Index Str body If CompareEq SubscriptLoad NameLoad Index Str Str body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body Print BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str orelse Print Str decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad NameLoad NameLoad
N/A N/A This example gets a bid landscape for an ad group and a criterion.

To get ad groups, run get_ad_groups.py. To get criteria, run get_keywords.py.

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 AD_GROUP_ID INSERT_AD_GROUP_ID_HERE N/A CRITERION_ID INSERT_CRITERION_ID_HERE main N/A N/A client ad_group_id criterion_id N/A N/A N/A data_service N/A N/A client GetService DataService version v201601 N/A selector N/A fields predicates N/A AdGroupId CriterionId StartDate EndDate Bid LocalClicks LocalCost LocalImpressions N/A N/A field operator values AdGroupId EQUALS N/A ad_group_id N/A field operator values CriterionId EQUALS N/A criterion_id N/A bid_landscapes N/A N/A data_service getCriterionBidLandscape selector N/A N/A entries bid_landscapes N/A N/A bid_landscape N/A bid_landscapes N/A entries N/A N/A N/A N/A bid_landscape N/A BidLandscape.Type CriterionBidLandscape N/A N/A N/A Criterion bid landscape with ad group id '%s', criterion id '%s', start date '%s', end date '%s', with landscape points was found: N/A N/A bid_landscape N/A adGroupId N/A bid_landscape N/A criterionId N/A bid_landscape N/A startDate N/A bid_landscape N/A endDate N/A bid_landscape_point N/A bid_landscape N/A landscapePoints N/A N/A N/A   bid: %s => clicks: %s, cost: %s, impressions: %s N/A N/A N/A bid_landscape_point N/A bid N/A microAmount N/A bid_landscape_point N/A clicks N/A N/A bid_landscape_point N/A cost N/A microAmount N/A bid_landscape_point N/A impressions N/A N/A No bid landscapes found. 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 AD_GROUP_ID CRITERION_ID