Re: AdWordsReportError

2017-08-10 Thread Zhen
Thanks! Vincent, it worked. I'll follow your suggestion.
Zhen

On Wednesday, August 9, 2017 at 8:35:06 PM UTC-7, Vincent Racaza (AdWords 
API Team) wrote:
>
> Hi Zhen,
>
> If you are including a Date segment in your report, you also need to 
> include a DURING clause in your report query. Please see sample code 
> snippet below:
>
> report_query = ('SELECT Year, Date, DayOfWeek, MonthOfYear, CampaignId, 
> CountryCriteriaId, CampaignName,' 
> 'CustomerDescriptiveName, CampaignStatus, AdGroupId ,'
> 'AverageCost, Clicks, Cost, MostSpecificCriteriaId '
> 'FROM GEO_PERFORMANCE_REPORT '
> 'WHERE Year in [2016, 2017] *DURING LAST_MONTH'*)
>
> Also, you may refer to this guide 
> <https://developers.google.com/adwords/api/docs/guides/reporting#date_ranges> 
> for 
> the possible date ranges that you can set in the DURING clause.
>
> I also recommend you to enable your SOAP logs so you can check for your 
> detailed SOAP request and response. You can enable it by following the "How 
> do I log SOAP interactions?" section of this document 
> <https://github.com/googleads/googleads-python-lib#how-do-i-log-soap-interactions>
> .
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/303f0b39-f9d7-4953-91d4-7bf320176bad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adswords Download error - AdWordsReportError

2017-08-08 Thread Zhen
Hi,
I'm trying to get GEO_PERFORMANCE_REPORT from API. 
When I tried with the sample "CRITERIA_PERFORMANCE_REPORT", the call is 
successful, when I tried with GEO_PERFORMANCE_REPORT, I get below errors:

from googleads import adwords

def main(client):
  # Initialize appropriate service.
report_downloader = client.GetReportDownloader(version='v201705')


  # Create report query.
report_query = ('SELECT CampaignId FROM GEO_PERFORMANCE_REPORT '

  )


queried_string = report_downloader.DownloadReportAsStringWithAwql(
   report_query, 'CSV', skip_report_header=False, skip_column_header=
False,
   skip_report_summary=False, include_zero_impressions=True)
return queried_string

adwords_client = adwords.AdWordsClient.LoadFromStorage()
query = main(adwords_client)

---AdWordsReportError
Traceback (most recent call 
last) in ()  1 adwords_client = 
adwords.AdWordsClient.LoadFromStorage('/home/zhge/purchase_journey/gg_api_call/googleads.yaml')>
 2 query = main(adwords_client)
 in main(client) 24 queried_string = 
report_downloader.DownloadReportAsStringWithAwql( 25report_query, 
'CSV', skip_report_header=False, skip_column_header=False,---> 26
skip_report_summary=False, include_zero_impressions=True) 27 return 
queried_string 28 
/home/zhge/purchase_journey/peanutbutter_jelly/env/local/lib/python2.7/site-packages/googleads/common.pyc
 in Wrapper(*args, **kwargs)527   with _UTILITY_LOCK:528 
_utility_registry.Add(registry_name)--> 529   return utility_method(*args, 
**kwargs)530 return Wrapper531 
/home/zhge/purchase_journey/peanutbutter_jelly/env/local/lib/python2.7/site-packages/googleads/adwords.pyc
 in DownloadReportAsStringWithAwql(self, query, file_format, **kwargs)   1453   
  try:   1454   response = self._DownloadReportAsStream(-> 1455   
self._SerializeAwql(query, file_format), **kwargs)   1456   return 
response.read().decode('utf-8')   1457 finally:
/home/zhge/purchase_journey/peanutbutter_jelly/env/local/lib/python2.7/site-packages/googleads/adwords.pyc
 in _DownloadReportAsStream(self, post_body, **kwargs)   1616 
'Request Summary: %s', self._ExtractRequestSummaryFields(   1617
 request, error=e))-> 1618   raise self._ExtractError(e)   16191620   
def _SanitizeRequestHeaders(self, headers):
AdWordsReportError: AdWords report download failed with HTTP status code: 400



I tried to get the fields for GEO_PERFORMANCE_REPORT, and I was able to do 
that.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c692d3ae-8d43-4de2-ab2a-ad51053fb273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdWordsReportError

2017-08-08 Thread Zhen
Hi,
I'm trying to get GEO_PERFORMANCE_REPORT from API. 
When I tried with the sample "CRITERIA_PERFORMANCE_REPORT", the call is 
successful, when I tried with GEO_PERFORMANCE_REPORT, I get below errors:

from googleads import adwords

def main(client):
  # Initialize appropriate service.
report_downloader = client.GetReportDownloader(version='v201705')


  # Create report query.
report_query = ('SELECT CampaignId FROM GEO_PERFORMANCE_REPORT '

  )


queried_string = report_downloader.DownloadReportAsStringWithAwql(
   report_query, 'CSV', skip_report_header=False, skip_column_header=
False,
   skip_report_summary=False, include_zero_impressions=True)
return queried_string

adwords_client = adwords.AdWordsClient.LoadFromStorage()
query = main(adwords_client)

---AdWordsReportError
Traceback (most recent call 
last) in ()  1 adwords_client = 
adwords.AdWordsClient.LoadFromStorage('/home/zhge/purchase_journey/gg_api_call/googleads.yaml')>
 2 query = main(adwords_client)
 in main(client) 24 queried_string = 
report_downloader.DownloadReportAsStringWithAwql( 25report_query, 
'CSV', skip_report_header=False, skip_column_header=False,---> 26
skip_report_summary=False, include_zero_impressions=True) 27 return 
queried_string 28 
/home/zhge/purchase_journey/peanutbutter_jelly/env/local/lib/python2.7/site-packages/googleads/common.pyc
 in Wrapper(*args, **kwargs)527   with _UTILITY_LOCK:528 
_utility_registry.Add(registry_name)--> 529   return utility_method(*args, 
**kwargs)530 return Wrapper531 
/home/zhge/purchase_journey/peanutbutter_jelly/env/local/lib/python2.7/site-packages/googleads/adwords.pyc
 in DownloadReportAsStringWithAwql(self, query, file_format, **kwargs)   1453   
  try:   1454   response = self._DownloadReportAsStream(-> 1455   
self._SerializeAwql(query, file_format), **kwargs)   1456   return 
response.read().decode('utf-8')   1457 finally:
/home/zhge/purchase_journey/peanutbutter_jelly/env/local/lib/python2.7/site-packages/googleads/adwords.pyc
 in _DownloadReportAsStream(self, post_body, **kwargs)   1616 
'Request Summary: %s', self._ExtractRequestSummaryFields(   1617
 request, error=e))-> 1618   raise self._ExtractError(e)   16191620   
def _SanitizeRequestHeaders(self, headers):
AdWordsReportError: AdWords report download failed with HTTP status code: 400



I tried to get the fields for GEO_PERFORMANCE_REPORT, and I was able to do 
that.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/148f8cd2-505c-4070-98d0-4bc0bd20f5b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWordsReportError

2017-08-09 Thread Zhen
Hi Vincent,
I'm getting the same error again trying to get the "Date" field" with below 
query:

report_query = ('SELECT Year, Date, DayOfWeek, MonthOfYear, CampaignId, 
CountryCriteriaId, CampaignName,' 
'CustomerDescriptiveName, CampaignStatus, AdGroupId ,'
'AverageCost, Clicks, Cost, MostSpecificCriteriaId '
'FROM GEO_PERFORMANCE_REPORT '
'WHERE Year in [2016, 2017]'
  )

It works without "Date", but threw the same "AdWordsReportError" with 
"Date".

Zhen


On Wednesday, August 9, 2017 at 12:05:10 AM UTC-7, Vincent Racaza (AdWords 
API Team) wrote:
>
> Hi Zhen,
>
> For Geo Performance Report 
> <https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report>,
>  
> you need to include the CountryCriteriaId 
> <https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#countrycriteriaid>
>  as 
> one of your reporting fields so it won't generate an AdWordsReportError. 
> You can do something like this in your report query:
>
> report_query = ('SELECT CampaignId,  *CountryCriteriaId*, Impressions 
> FROM GEO_PERFORMANCE_REPORT ')
>
> Let me know if the issue persists after doing the suggestion.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c0b8c621-7db7-4276-a09c-656e6c516a79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWordsReportError

2017-08-09 Thread zhen
Thanks Vincent! Yes it worked.

Zhen

On Wednesday, August 9, 2017 at 12:05:10 AM UTC-7, Vincent Racaza (AdWords 
API Team) wrote:
>
> Hi Zhen,
>
> For Geo Performance Report 
> <https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report>,
>  
> you need to include the CountryCriteriaId 
> <https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#countrycriteriaid>
>  as 
> one of your reporting fields so it won't generate an AdWordsReportError. 
> You can do something like this in your report query:
>
> report_query = ('SELECT CampaignId,  *CountryCriteriaId*, Impressions 
> FROM GEO_PERFORMANCE_REPORT ')
>
> Let me know if the issue persists after doing the suggestion.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/14dd7361-73c3-4d33-804c-5f34daa38578%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Performance Report with User List and Product Partition

2016-09-23 Thread zhen . lin
Hi,

We trying to track the performance(Cost/Clicks) on User List(Audience) + 
Production Partition level, is it supported by current Reporting API?

Thanks,
Paul

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/60b43308-f17c-4b41-b0c1-3518f101ddd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Performance Report with User List and Product Partition

2016-09-23 Thread zhen . lin
Hi Joyce,

I understand the report could either on audience level or partition level. 
My questions is if it's possible to have the both criteria as selector, 
report format may like this

ProductGroup, UserListId, Cost, Clicks

Thanks,
Paul

On Friday, September 23, 2016 at 4:13:19 PM UTC+8, Joyce Lava wrote:
>
> Hi Paul,
>
> You may use the Audience Performance Report 
> 
>  to 
> get the performance data at the audience level and Product Partition 
> Report 
> 
>  to 
> get shopping campaign performance at product partition level.
>
> Hope this helps.
>
> Regards,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b459ea47-6a79-4b88-8809-397b155c4574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get google ads account credit or balance?

2020-01-16 Thread Akav Zhen
Dear All:

Thank you all in advance.

Here is what we know:
If we set a google account with payment setting "Automatic Payments",the 
account will have a account threshold,as ads runs,there is a positive value 
shows as credit,and will trigger a payment if the ads accrued account 
threshold or 30 days after the last payment.
if we make a payment manually with a amount more than accrued,the credit 
has a negative value showing the balance left.

Here is the question:
How can I get the credit value by google-ads/adwords api ?

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6ef4347e-bb10-40c9-8dfe-33bdbae0d865%40googlegroups.com.


Re: How to get google ads account credit or balance?

2020-01-18 Thread Akav Zhen
Thank you.

As I mentioned before,the budget for some Automatic Payments account is set 
to Unlimited,which just make the subtracting impossible.

On Saturday, January 18, 2020 at 4:35:10 AM UTC+8, adsapiforumadvisor wrote:
>
> Hi Akav,
>
> Thank you for the clarification. Through the API the remaining credit 
> field is not directly accessible via API. However, you can compute the 
> remaining balance by subtracting the total Cost 
> 
>  
> of the Account Performance Report from your known budget 
> .
>  
> This should give you the remaining balance. Please let me know if you have 
> further questions or concerns.
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001USwdAo:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0f43ffcb-ab2a-43f8-92fc-f1d8d9d96d54%40googlegroups.com.


Re: How to get google ads account credit or balance?

2020-01-19 Thread Akav Zhen
So,is that impossible to get the remaining credit for a Automatic Payments 
account which set the budget to unlimited?
Thank you.

On Sunday, January 19, 2020 at 9:51:23 AM UTC+8, Akav Zhen wrote:
>
> Thank you.
>
> As I mentioned before,the budget for some Automatic Payments account is 
> set to Unlimited,which just make the subtracting impossible.
>
> On Saturday, January 18, 2020 at 4:35:10 AM UTC+8, adsapiforumadvisor 
> wrote:
>>
>> Hi Akav,
>>
>> Thank you for the clarification. Through the API the remaining credit 
>> field is not directly accessible via API. However, you can compute the 
>> remaining balance by subtracting the total Cost 
>> <https://developers.google.com/adwords/api/docs/appendix/reports/account-performance-report#cost>
>>  
>> of the Account Performance Report from your known budget 
>> <https://developers.google.com/adwords/api/docs/appendix/reports/budget-performance-report#totalamount>.
>>  
>> This should give you the remaining balance. Please let me know if you have 
>> further questions or concerns.
>>
>> Thank you,
>> Bryan, Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5001USwdAo:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b17138e3-7b1c-4f90-8220-a289a8ce2a2e%40googlegroups.com.


Re: How to get google ads account credit or balance?

2020-01-21 Thread Akav Zhen
Well,I might consider changing some config then.
Thank you for your help.


On Wednesday, January 22, 2020 at 4:03:49 AM UTC+8, adsapiforumadvisor 
wrote:
>
> Hi Akav,
>
> In the case that your Automatic Budget account is set to unlimited making 
> the subtraction impossible, then unfortunately it is not possible to obtain 
> the remaining credit, as remaining credit is not directly accessible by 
> API. Please let me know if you have further questions.
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001USwdAo:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1382335e-7938-425e-b17e-d5179425f041%40googlegroups.com.


Re: How to get google ads account credit or balance?

2020-01-16 Thread Akav Zhen
Thank you for your help.
I tried the BudgetOrder.totalAdjustments 

 way,but 
it didn't work out.

On a Monthly invoicing account with a budget,the BudgetOrder did gives the 
spendingLimit and totalAdjustments,and the amount is correct.
But, on a Automatic Payments account,which set the account budget to 
Unlimited Spending,the BudgetOrder gives the spendlimit with value -1,which 
means unlimited.and the totalAdjustments's value is weird,I didn't find the 
value anywhere on the google ads page.

And the value I really care abount ,is the credit amount with a negative 
value,on a automatic payments account which made a mannuly payment.

[image: 2020-01-17_133931.jpg]



On Friday, January 17, 2020 at 4:15:53 AM UTC+8, adsapiforumadvisor wrote:
>
> Hi Akav,
>
> Thank you for reaching out to us. You can obtain credits using the field 
> totalAdjustments 
> 
>  
> under BudgetOrder, which will come in the form of credits or debits to your 
> budget order. For more information about adjustments, please see here 
> .
>  
> Please let me know if you have further questions.
> Thank you,
> Bryan, Google Ads API Team
>
> ref:_00D1U1174p._5001USwdAo:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/82f6ecf7-fe97-43bb-8087-658764c092ca%40googlegroups.com.


Re: How to get google ads account credit or balance?

2020-01-16 Thread Akav Zhen
By the way.

On a manual payment account,the BudgetOrder alse gives the correct 
spendingLimit with a value of Account Budget.But the totalAdjustment is 
also something unknown.

For a  manual payment account,the Your remaining credit value also not 
found in the BudgetOrder .

[image: 2020-01-17_142005.jpg]




On Friday, January 17, 2020 at 1:39:52 PM UTC+8, Akav Zhen wrote:
>
> Thank you for your help.
> I tried the BudgetOrder.totalAdjustments 
> <https://developers.google.com/adwords/api/docs/reference/v201809/BudgetOrderService.BudgetOrder#totaladjustments>
>  way,but 
> it didn't work out.
>
> On a Monthly invoicing account with a budget,the BudgetOrder did gives the 
> spendingLimit and totalAdjustments,and the amount is correct.
> But, on a Automatic Payments account,which set the account budget to 
> Unlimited Spending,the BudgetOrder gives the spendlimit with value -1,which 
> means unlimited.and the totalAdjustments's value is weird,I didn't find the 
> value anywhere on the google ads page.
>
> And the value I really care abount ,is the credit amount with a negative 
> value,on a automatic payments account which made a mannuly payment.
>
> [image: 2020-01-17_133931.jpg]
>
>
>
> On Friday, January 17, 2020 at 4:15:53 AM UTC+8, adsapiforumadvisor wrote:
>>
>> Hi Akav,
>>
>> Thank you for reaching out to us. You can obtain credits using the field 
>> totalAdjustments 
>> <https://developers.google.com/adwords/api/docs/reference/v201809/BudgetOrderService.BudgetOrder#totaladjustments>
>>  
>> under BudgetOrder, which will come in the form of credits or debits to your 
>> budget order. For more information about adjustments, please see here 
>> <https://developers.google.com/adwords/api/docs/guides/budget-order#spending_limits_and_adjustments>.
>>  
>> Please let me know if you have further questions.
>> Thank you,
>> Bryan, Google Ads API Team
>>
>> ref:_00D1U1174p._5001USwdAo:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8ae0c56c-1084-410e-9662-f4dc9b87b29c%40googlegroups.com.


Re: Google Ads API PERMISSION_DENIED after migrateing adwords api to google ads api

2020-01-02 Thread Akav Zhen
Hi,
Thank you for your reply.

My point is,the adwords api and google ads api are using exactly the same 
ads developer token and google api project.
I only changed the ADWORDS  section to GOOGLE_ADS section in the config 
file.

The adwords part is still working,which makes sure the adwords api developer 
token  and google api Credentials are available.

Which makes the Falut message difficult to understand.Or,is there any other 
necessary operations that I missed while migrating adwords to google ads 
api.

Thank you.

On Thursday, January 2, 2020 at 11:49:01 PM UTC+8, adsapiforumadvisor wrote:
>
> Hi Akav,
>
> Thank you for reaching out. You must make sure that you've enabled Google 
> Ads API for your project in the developer console as explained in the error 
> message. You can do that by following these instructions 
> .
>  
> Please make sure you've disabled any ad blockers or proxies when visiting 
> the console page.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001UOFYbT:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/608037fc-8193-4053-b958-191e225fdb2f%40googlegroups.com.


Google Ads API PERMISSION_DENIED after migrateing adwords api to google ads api

2019-12-31 Thread Akav Zhen
Hi,

My program is working fine with adwords api.
Now,I migrate some codes from adwords api to google ads api,for the ini 
config part,I add a new section GOOGLE_ADS, and copy the developerToken 
from the ADWORDS section, and nothing else.
Then,when I run the sample code of google ads, I got error messages as 
below:
(the peoject ID was replaced by )

Fault   

  ---   

Status code: 7  


  Details: Google Ads API has not been used in project  
before or it is disabled. Enable it by visiting 
https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=
 then retry. If you enabled this API recently, wait a few minutes for the 
action to propagate to our systems and retry.


I tried the adwords api,it is still working.

so,what's wrong with the api in the project ?Or,did I missing something in 
the migrating?

thank you very much.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/da7c1f92-1ecf-4e55-b383-21109fff7bdf%40googlegroups.com.


Re: How to add multiple keywords to a keyword plan within a single API call?

2020-06-04 Thread Zhen Guo
How many operations does the example count towards the daily operation 
limit?

在 2020年6月4日星期四 UTC-4上午9:46:18,adsapiforumadvisor写道:
>
> Hi Zhen,
>
> Thank you for reaching out. When creating your plan request, you just need 
> to add multiple KeywordPlanKeyword 
> <https://developers.google.com/google-ads/api/reference/rpc/v3/KeywordPlanKeyword>
>  
> objects to a KeywordPlanKeywordOperations list. You can find an example of 
> this here 
> <https://developers.google.com/google-ads/api/docs/samples/add-keyword-plan> 
> in the Create KeywordPlanKeyword section.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q20Vywn:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ac6ed0dc-36f8-426e-b3be-45a22019605f%40googlegroups.com.


Re: Getting INVALID_ARGUMENT error when adding 2000 keywords to a keyword plan

2020-06-05 Thread Zhen Guo
Alright, I solved it. It turns out that there are some duplicated keywords 
in my list.

在 2020年6月5日星期五 UTC-4下午2:43:37,Zhen Guo写道:
>
> Hi,
>
> I am using a test account on google ads api. I was trying to add 2000 
> keywords to my keyword plan to get forecast metrics. I keep getting the 
> following error. "A keyword with same text and match type already exists."But 
> when I try to query keywords form my account, the keywords do not exist. 
> After a few tries, I used up my daily operation limit. I tried the same 
> code with a smaller keyword list with about 10 keywords, and it worked just 
> fine. So, I was wondering why it does not work with 2000 keywords. The 
> attached is the code I was using to add keywords.
>
> ./add_keyword_plan2.py -c ***
>
> Created keyword plan with resource name: 
> customers/***/keywordPlans/*
>
> Created keyword plan campaign with resource name: 
> customers//keywordPlanCampaigns/
>
> Created keyword plan ad group with resource name: 
> customers/**0/keywordPlanAdGroups/*
>
> Request made: ClientCustomerId: , Host: 
> googleads.googleapis.com:443, Method: 
> /google.ads.googleads.v3.services.KeywordPlanKeywordService/MutateKeywordPlanKeywords,
>  
> RequestId: 5jB0YHt43VHwn4F1_sLLTA, IsFault: True, FaultMessage: A keyword 
> with same text and match type already exists.
>
> Request with ID "5jB0YHt43VHwn4F1_sLLTA" failed with status 
> "INVALID_ARGUMENT" and includes the following errors:
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
> Error with message "A keyword with same text and match type already 
> exists.".
>
> On field: operations
>
>
> Thanks,
>
> Zhen 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our

Getting INVALID_ARGUMENT error when adding 2000 keywords to a keyword plan

2020-06-05 Thread Zhen Guo
Hi,

I am using a test account on google ads api. I was trying to add 2000 
keywords to my keyword plan to get forecast metrics. I keep getting the 
following error. "A keyword with same text and match type already exists."But 
when I try to query keywords form my account, the keywords do not exist. 
After a few tries, I used up my daily operation limit. I tried the same 
code with a smaller keyword list with about 10 keywords, and it worked just 
fine. So, I was wondering why it does not work with 2000 keywords. The 
attached is the code I was using to add keywords.

./add_keyword_plan2.py -c ***

Created keyword plan with resource name: 
customers/***/keywordPlans/*

Created keyword plan campaign with resource name: 
customers//keywordPlanCampaigns/

Created keyword plan ad group with resource name: 
customers/**0/keywordPlanAdGroups/*

Request made: ClientCustomerId: , Host: 
googleads.googleapis.com:443, Method: 
/google.ads.googleads.v3.services.KeywordPlanKeywordService/MutateKeywordPlanKeywords,
 
RequestId: 5jB0YHt43VHwn4F1_sLLTA, IsFault: True, FaultMessage: A keyword 
with same text and match type already exists.

Request with ID "5jB0YHt43VHwn4F1_sLLTA" failed with status 
"INVALID_ARGUMENT" and includes the following errors:

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations

Error with message "A keyword with same text and match type already 
exists.".

On field: operations


Thanks,

Zhen 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/577c8590-d2d4-4387-8bed-e1eb75c2fc6eo%40googleg

Can't get keywords in Google Ads API

2020-06-05 Thread Zhen Guo
Hi,

I tried to get a map of my keywords and their ids, but can't really make 
the query work. I used the example to get all keywords, but it does not 
give me any results nor errors. I don't have any issue when running 
forecast metrics for the same account and keywordplan. Here is the command 
I used ./get_keywords.py -c ***. What could be the problem?

Thank you,
Zhen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00e20a44-a11e-4248-8218-5eaaf45241d0o%40googlegroups.com.


Re: Sufficient way to get keyword ID in Google Ads API?

2020-06-08 Thread Zhen Guo
Or, is there any way that I can store the keywords and ids when I add 
keywords? Right now, when I add a keyword plan, only ids are returned, so I 
don't know which keywords they are mapping to.

在 2020年6月8日星期一 UTC-4下午12:12:49,Zhen Guo写道:
>
> Hi,
>
> Is there a more sufficient way to get keywords and their ids than querying 
> the criteria?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/50a73443-db6c-460a-8abd-a6883df906a8o%40googlegroups.com.


Sufficient way to get keyword ID in Google Ads API?

2020-06-08 Thread Zhen Guo
Hi,

Is there a more sufficient way to get keywords and their ids than querying 
the criteria?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e305c999-6389-4dfa-b930-0d8d84e1fdf6o%40googlegroups.com.


How to get a specific keyword text value by its id in Google ads API?

2020-06-08 Thread Zhen Guo
How to get a specific keyword text value by its id in Google ads API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5ec111f3-65fc-42af-a3e1-a9e93d724a14o%40googlegroups.com.


Saving keywords and their resource name in Google Ads API

2020-06-08 Thread Zhen Guo
Hi,

When generating keyword plans, I get a list of keyword resource names like 
the following. Is there a way I can get the specific keyword that they are 
responding to? Are these responses ordered in the same way I pass the 
keyword operations to the API call?

Created keyword plan keyword with resource name: 
customers/7373145990/keywordPlanKeywords/254861647567

Created keyword plan keyword with resource name: 
customers/7373145990/keywordPlanKeywords/254861647570

Created keyword plan keyword with resource name: 
customers/7373145990/keywordPlanKeywords/254861647573


Thank you,

Zhen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c49e21ca-927e-4495-bc98-f0f88d2882c1o%40googlegroups.com.


How to add multiple keywords to a keyword plan within a single API call?

2020-06-03 Thread Zhen Guo
Hi,

I am new to Google Ads API. I know there should be a way to add multiple 
keywords to a keyword plan within a single API call. I have about 2000 
keywords so I don't want to waste my daily operations on just adding them 
to the plan. I read through the batch processing, but none of the 
MutateOperations 
 
seem 
to have keyword related features. Which specific API operations should I 
call to add multiple keywords to a keyword plan? If it can't be done within 
one call, what particular method I should use to combine or reduce calls?

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2b7c02ed-a015-4608-88ac-4c97ab44feaf%40googlegroups.com.


Re: How to add multiple keywords to a keyword plan within a single API call?

2020-06-04 Thread Zhen Guo
So, if I understand this correctly, the way the example adding keywords 
count as ONE API operation. Right?

在 2020年6月4日星期四 UTC-4上午9:46:18,adsapiforumadvisor写道:
>
> Hi Zhen,
>
> Thank you for reaching out. When creating your plan request, you just need 
> to add multiple KeywordPlanKeyword 
> <https://developers.google.com/google-ads/api/reference/rpc/v3/KeywordPlanKeyword>
>  
> objects to a KeywordPlanKeywordOperations list. You can find an example of 
> this here 
> <https://developers.google.com/google-ads/api/docs/samples/add-keyword-plan> 
> in the Create KeywordPlanKeyword section.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q20Vywn:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6061dd30-f65f-48d3-8fa1-3f3e8732b186%40googlegroups.com.