what does the param '-c' mean? How can i get it?

317 views
Skip to first unread message

沈俊杰

unread,
Apr 20, 2020, 10:27:39 AM4/20/20
to AdWords API and Google Ads API Forum
1、
For Python,what's the difference between googleads.adwords and google.ads.google_ads

2、
what does '-c' mean? How can i get it?
parser.add_argument('-c', '--customer_id', type=str,
required=True, help='The Google Ads customer ID.')

3、
What is the 'CAMPAIGN_NAGETIVE_PLACEMENT_REPORT'? And what's the difference with 'PLACEMENT_REPORT'?

Google Ads API Forum Advisor Prod

unread,
Apr 20, 2020, 4:27:25 PM4/20/20
to jjsh...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out. Please see the below answer of your questions.

  1. The googleads.adwords used to import libraries for the AdWords API and the google.ads.google_ads used to import libraries for the Google Ads API is our new API that is currently in beta. 
  2.  ‘_c’ is the read command from the background bash request. You don’t need to worry.
  3.  PLACEMENT_PERFORMANCE_REPORT to get rows for automatic, managed and excluded placements at ad group level and CAMPAIGN_NAGETIVE_PLACEMENT_REPORT to see placements excluded at campaign level.

 Hope this is helps! Let me know if you have any further questions.


Thanks,
Nirmita Patel Google Ads Team



ref:_00D1U1174p._5001UZZ3Lg:ref

沈俊杰

unread,
Apr 21, 2020, 2:29:29 AM4/21/20
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Thank you for your response. 
I'm confused. Now that I have excluded a placement, there should be no data. Why provide a report to get his data? In fact, I can not get any data from this report. 
I want to get App Campaign Report for my UAC ads, what should I do?

David Wihl

unread,
Apr 21, 2020, 1:07:20 PM4/21/20
to AdWords API and Google Ads API Forum
> 2.  ‘_c’ is the read command from the background bash request. You don’t need to worry.

Just to clarify, '-c' allows the user to specify a customer_id on the command line, ie.

$ python examples/basic_operations/get_campaigns.py -c 1234567890

Google Ads API Forum Advisor Prod

unread,
Apr 21, 2020, 6:46:49 PM4/21/20
to adwor...@googlegroups.com

Hi,


Thanks for reaching out. For your first question, You can use the report to list your negative placements.


For your second question, if you're using AdWords API, you may find the list of supported report types for Universal App campaigns here. The UniversalAppAd ad type was added in v201809 to allow whitelisted users to create ad groups and ads in Universal App campaigns. If you're seeing any discrepancy pulling them in the reports, please share the client customer Id via Reply privately to author option.

 
Yes , ‘’-C’' allows the user to specify a customer_id on the command line.




Thanks,
Nirmita Patel Google Ads Team



ref:_00D1U1174p._5001UZZ3Lg:ref
Reply all
Reply to author
Forward
0 new messages