why The cost of the campaign does not match the cost of the creatives in the campaign?

2023-06-19 Thread pqm peng
why The cost of the campaign does not match the cost of the creatives in 
the campaign?
May 2023  the cost of the campaign was 504$
May 2023   the cost of the creatives in the campaign $304

Why the same campaign costs differently at the same time?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/2567b2c7-7e1e-4fe6-8e5c-3427b7855778n%40googlegroups.com.


"error": "invalid_client", "error_description": "Unauthorized"

2023-05-09 Thread pqm peng
*response:*
{
"error": "invalid_client",
"error_description": "Unauthorized"
}



*follow example:* Generating new access tokens

Once you have a *client ID*, *client secret*, and *refresh token*, you can 
generate a new access token for use in API calls with the curl 
 command line tool:
Note: The version v3 in the OAuth endpoint URL is unrelated to the Google 
Ads API version and should not change when migrating to newer versions of 
Google Ads API.
curl \
  --data "grant_type=refresh_token" \
  --data "client_id=CLIENT_ID" \
  --data "client_secret=CLIENT_SECRET" \
  --data "refresh_token=REFRESH_TOKEN" \
  https://www.googleapis.com/oauth2/v3/token 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/717c627e-a42b-496b-b084-8b5eb358ff6bn%40googlegroups.com.


Re: Discrepancies between reporting metrics from Google Ads API and the Google Ads web UI

2022-11-17 Thread pqm peng
Thank you 

在2022年11月10日星期四 UTC+8 20:03:41 写道:

> Hi,
>
> Thank you for providing more details to your concern. I am also a member 
> of the Google Ads API team and let me provide support to your concern.
>
> Unfortunately, we would not be able to investigate the data discrepancies 
> that encountered on your end with the provided details. With this, please 
> provide instead the below information that my colleague is asking and 
> follow the instruction on how to enable the logging of API transactions:
>
> "
>
>
>
> *For our team to further check, compare and validate why you are 
> encountering this, could you please provide us with the complete API logs 
> (request 
> 
>  and response 
> 
>  with request-id 
> )
>  
> generated on your end and the whole UI screenshot where you can see the 
> data you are referring to? Note that logs can be requested or provided to 
> the developer handling the Google Ads API transactions when logging of the 
> API requests has been enabled. You may check here 
> 
>  and 
> click your client library for the specific guideline to enable it. For REST 
> interface requests, you can enable logging via the curl command by using 
> the -i flag. This will cause the tool to include the HTTP response headers 
> in the output.*"
>
> Please provide the screenshot of the whole UI in English and where we can 
> see the date range that you've set.
>
> For privacy purposes, you can send it via the Reply privately to the 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2fptiN: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 
"Google Ads API and AdWords 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/23021c76-b668-4d0b-86e1-63090a812a99n%40googlegroups.com.


Re: Discrepancies between reporting metrics from Google Ads API and the Google Ads web UI

2022-11-10 Thread pqm peng

request-id 

:LofEB2w0ughBXHdCq3imow
E.g:
[image: 企业微信截图_16680782474429.png]
[image: 企业微信截图_16680781891433.png]
在2022年10月31日星期一 UTC+8 13:04:31 写道:

> Hi,
>
> Thank you for reaching out to us.
>
> For our team to further check, compare and validate why you are 
> encountering this, could you please provide us with the complete API logs (
> request 
> 
>  and response 
> 
>  with request-id 
> )
>  
> generated on your end and the whole UI screenshot where you can see the 
> data you are referring to?
>
> Note that logs can be requested or provided to the developer handling the 
> Google Ads API transactions when logging of the API requests has been 
> enabled. You may check here 
> 
>  
> and click your client library for the specific guideline to enable it.
>
> For REST interface requests, you can enable logging via the curl command 
> by using the -i flag. This will cause the tool to include the HTTP response 
> headers in the output.
>
> You may then send the requested information via the Reply privately to the 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2fptiN: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 
"Google Ads API and AdWords 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/81dd5b4e-4680-40ff-bde8-d4df086d4fe2n%40googlegroups.com.


Discrepancies between reporting metrics from Google Ads API and the Google Ads web UI

2022-10-30 Thread pqm peng
There are differences in the number of clicks, costs, and conversion values 
​​of the Google Ads API campaign and the  Google Ads web UI

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/53378c00-2bb8-4493-8b4a-67f330374934n%40googlegroups.com.


Re: Regarding the Google Ads API client library fo Go language

2022-07-07 Thread peng ares
+1 to request for Go lang client library.  

在2022年1月18日星期二 UTC+8 01:58:20 写道:

> Hi Miki,
>
> I raised with my team your request for a Go language Client library. This 
> request is subject to review. You may monitor our blog 
>  for 
> an update. 
>
> For now, we will continue to publish and support the Google Ads API’s 
> protocol buffer definitions 
> . 
> The compiled Go libraries can be generated by running protoc directly on 
> these source files. You can follow the instructions at 
> https://github.com/protocolbuffers/protobuf for Go to build these files. 
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q29Rahn: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 
"Google Ads API and AdWords 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/652a8145-bcee-4b11-874e-1286e56ff04en%40googlegroups.com.


Re: How to get the landing page address of Google ads from Google ads api

2021-10-22 Thread pqm peng
How to get a permanent refresh token


在2021年10月22日星期五 UTC+8 下午3:55:58 写道:

>
> Why is the refresh token valid for a short time
> 在2021年10月19日星期二 UTC+8 上午4:45:02 写道:
>
>> Hi,
>>
>> Could you privately give us request and response to the API logs of the 
>> steps to reproduce this issue of final url missing from ad when the ad is 
>> created with one? 
>>
>> The request and response appears similar to the JSON Mappings in our 
>> REST documentation 
>> .
>>  
>> Our client libraries have loggers with logging instructions, to see these 
>> instructions you can click on the client library you use in the sidebar of 
>> our client library guide 
>>  and 
>> click on "Logging". Setting the logger to 'DEBUG' should get the logs 
>> necessary.
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh Baker 
>> Google Ads API Team 
>>   
>>  
>>
>> ref:_00D1U1174p._5004Q2PHtnw: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/f0f41600-bfb0-42b0-86d1-8dc7c269cac2n%40googlegroups.com.


Re: How to get the landing page address of Google ads from Google ads api

2021-10-22 Thread pqm peng

Why is the refresh token valid for a short time
在2021年10月19日星期二 UTC+8 上午4:45:02 写道:

> Hi,
>
> Could you privately give us request and response to the API logs of the 
> steps to reproduce this issue of final url missing from ad when the ad is 
> created with one? 
>
> The request and response appears similar to the JSON Mappings in our REST 
> documentation 
> .
>  
> Our client libraries have loggers with logging instructions, to see these 
> instructions you can click on the client library you use in the sidebar of 
> our client library guide 
>  and 
> click on "Logging". Setting the logger to 'DEBUG' should get the logs 
> necessary.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2PHtnw: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/dc3f5426-13b7-47c1-87cf-5ecc800392f9n%40googlegroups.com.


Re: How to get the landing page address of Google ads from Google ads api

2021-10-17 Thread pqm peng
I'm sure  that i  have set the final_url 

 field 
in my ad when i initially created those

在2021年10月15日星期五 UTC+8 上午10:42:01 写道:

> Hi,
>
> Final URLs should be set first into the entity in order for it to then be 
> available when queried. You may check this example 
>  
> where it demonstrates the final URL field being set during ad creation.
>
> That said, could you confirm whether you have set the final_url 
> 
>  
> field in your ad when you initially created those?
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PHtnw: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/8dc4381a-32ac-45bb-89da-c2b91485adf5n%40googlegroups.com.


Re: How to get the landing page address of Google ads from Google ads api

2021-10-13 Thread pqm peng

Why do some ads have landing pages and some don’t?

[image: 1634175793760.png][image: 16341757981606.png]
在2021年10月13日星期三 UTC+8 上午10:30:19 写道:

> Hello,
>
> Thank you for getting back to us.
>
> As previously asked by my colleague (Aryeh), can you share to us a 
> screenshot in the Google Ads UI showing your concern so we can provide its 
> API equivalent?
>
> Please send the requested screenshot via the *Reply privately to author* 
> option. 
> If this option is not available, you may send the details directly to our 
> *googleadsapi-supp...@google.com 
> * alias instead.
>
> As an aside, according to this guide 
> , 
> the final URL represents the actual landing page for your ad, keyword, or 
> sitelink. The final URL must be the URL the user sees in the browser bar 
> after clicking your ad: It must not have any off-domain redirects. If this 
> is what you're looking for, you can utilize the ad_group_ad.ad.final_urls 
> 
>  instead.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PHtnw: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/27e4cce9-0ac2-401a-b97d-21b2b0f346b8n%40googlegroups.com.


Re: How to get the landing page address of Google ads from Google ads api

2021-10-11 Thread pqm peng
 landing_page_view 
  
is not  for  each ad, How can I get the landing page address of each ad?

在2021年10月9日星期六 UTC+8 上午2:52:50 写道:

> Hi there,
>
> Thank you for reaching out to Google Ads API support. Is landing_page_view 
>  
> what you are looking for? If not, could you privately send us a screenshot 
> of the UI that you are looking to replicate in the API?
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PHtnw: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/71ec5eda-070d-4356-a486-0b86710418a8n%40googlegroups.com.


How to get the landing page address of Google ads from Google ads api

2021-10-07 Thread pqm peng
How to get the landing page address of Google ads from 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/c0ad3363-71bb-48c4-9072-107141b3039bn%40googlegroups.com.


google.api_core.exceptions.ServiceUnavailable: 503 failed to connect to all addresses

2021-09-15 Thread pqm peng
Request made: ClientCustomerId: ***, Host: 
googleads.googleapis.com, Method: 
/google.ads.googleads.v8.services.GoogleAdsService/SearchStream, RequestId: 
None, IsFault: True, FaultMessage: failed to connect to all addresses
Traceback (most recent call last):
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\grpc_helpers.py", 
line 160, in error_remapped_callable
return _StreamingResponseIterator(
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\grpc_helpers.py", 
line 83, in __init__
self._stored_first_result = six.next(self._wrapped)
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\response_wrappers.py",
 
line 98, in __next__
raise e
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\response_wrappers.py",
 
line 95, in __next__
self._failure_handler(self._underlay_call)
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\exception_interceptor.py",
 
line 71, in _handle_grpc_failure
raise self._get_error_from_response(response)
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\response_wrappers.py",
 
line 85, in __next__
message = next(self._underlay_call)
  File 
"C:\Users\Admin\AppData\Roaming\Python\Python38\site-packages\grpc\_channel.py",
 
line 426, in __next__
return self._next()
  File 
"C:\Users\Admin\AppData\Roaming\Python\Python38\site-packages\grpc\_channel.py",
 
line 642, in _next
return self._next_response()
  File 
"C:\Users\Admin\AppData\Roaming\Python\Python38\site-packages\grpc\_channel.py",
 
line 617, in _next_response
raise self
grpc._channel._SingleThreadedRendezvous: <_SingleThreadedRendezvous of RPC 
that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = 
"{"created":"@1631689752.85600","description":"Failed to pick 
subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3187,"referenced_errors":[{"created":"@1631689752.85600","description":"failed
 
to connect to all 
addresses","file":"src/core/lib/transport/error_utils.cc","file_line":146,"grpc_status":14}]}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:/Users/Admin/PycharmProjects/pythonProject3/test5.py", line 14, 
in 
print(ga_service.search_stream(customer_id=customer_id, query=query))
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\v8\services\services\google_ads_service\client.py",
 
line 2933, in search_stream
response = rpc(
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\gapic_v1\method.py",
 
line 145, in __call__
return wrapped_func(*args, **kwargs)
  File 
"C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\grpc_helpers.py", 
line 164, in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "", line 3, in raise_from
google.api_core.exceptions.ServiceUnavailable: 503 failed to connect to all 
addresses

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/32a3cfa5-787d-40b7-832f-e63e4c254792n%40googlegroups.com.


why failed to python get_account_information.py ( google ads api python cenlit )

2021-09-13 Thread pqm peng
Request made: ClientCustomerId: xx1-xx3-xxx6, Host: 
googleads.googleapis.com, Method: 
/google.ads.googleads.v8.services.CustomerService/GetCustomer, RequestId: 
None, IsFault: True, FaultMessage: failed to connect to all addresses

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cfd124ef-46bf-4b82-90e1-fefe547b6891n%40googlegroups.com.


The developer hasn’t given you access to this app???

2021-09-13 Thread pqm peng
The developer hasn’t given you access to this app. It’s currently being 
tested and it hasn’t been verified by Google. If you think you should have 
access, contact the developer (pqm2...@gmail.com).

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0f54d87b-753f-4d22-9188-dd4a27220522n%40googlegroups.com.


how to get refresh_token ( using python client)?

2021-09-13 Thread pqm peng
google.auth.exceptions.RefreshError: ('invalid_request: Missing required 
parameter: refresh_token', '{\n  "error": "invalid_request",\n  
"error_description": "Missing required parameter: refresh_token"\n}')

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e9bac2b8-95b7-4e9d-91b5-ae2a5145ecd1n%40googlegroups.com.


how to use google ads api ? why python client having not module named 'proto'?

2021-09-08 Thread pqm peng
Traceback (most recent call last):
  File 
"E:/workspace/google-ads-python-master/google/ads/googleads/client.py", 
line 20, in 
import proto
ModuleNotFoundError: No module named 'proto'

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7eec172c-e951-443a-adea-f744d8b5edabn%40googlegroups.com.


HTTPError: Internal Server Error when accessing Google Adword API (Python)

2017-01-17 Thread Peng Liu
Hi, 

I am new to google adword api. 

I have configured the YAML file as instructed and installed the python 
client library for google adword api. However When i tried to run the 
sample code for generating keyword ideas. I have encountered this error:

Traceback (most recent call last):

  File "", line 1, in 

runfile('C:/Users/ASUS/Documents/GitHub/FYP_data_analysis/google/keyword_idea 
generation_api_google.py', 
wdir='C:/Users/ASUS/Documents/GitHub/FYP_data_analysis/google')

  File 
"C:\Anaconda3\envs\py27\lib\site-packages\spyder\utils\site\sitecustomize.py", 
line 866, in runfile
execfile(filename, namespace)

  File 
"C:\Anaconda3\envs\py27\lib\site-packages\spyder\utils\site\sitecustomize.py", 
line 87, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)

  File 
"C:/Users/ASUS/Documents/GitHub/FYP_data_analysis/google/keyword_idea 
generation_api_google.py", line 120, in 
retrieveKeywordIdea(adwords_client, words)

  File 
"C:/Users/ASUS/Documents/GitHub/FYP_data_analysis/google/keyword_idea 
generation_api_google.py", line 90, in retrieveKeywordIdea
page = targeting_idea_service.get(selector)

  File "build\bdist.win-amd64\egg\googleads\common.py", line 700, in 
MakeSoapRequest
*[_PackForSuds(arg, self.suds_client.factory) for arg in args])

  File "C:\Anaconda3\envs\py27\lib\site-packages\suds\client.py", line 521, 
in __call__
return client.invoke(args, kwargs)

  File "C:\Anaconda3\envs\py27\lib\site-packages\suds\client.py", line 581, 
in invoke
result = self.send(soapenv)

  File "C:\Anaconda3\envs\py27\lib\site-packages\suds\client.py", line 613, 
in send
reply = self.options.transport.send(request)

  File "build\bdist.win-amd64\egg\googleads\util.py", line 98, in 
PatchedHttpTransportSend
fp = self.u2open(u2request)

  File "C:\Anaconda3\envs\py27\lib\site-packages\suds\transport\http.py", 
line 132, in u2open
return url.open(u2request, timeout=tm)

  File "C:\Anaconda3\envs\py27\lib\urllib2.py", line 435, in open
response = meth(req, response)

  File "C:\Anaconda3\envs\py27\lib\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)

  File "C:\Anaconda3\envs\py27\lib\urllib2.py", line 473, in error
return self._call_chain(*args)

  File "C:\Anaconda3\envs\py27\lib\urllib2.py", line 407, in _call_chain
result = func(*args)

  File "C:\Anaconda3\envs\py27\lib\urllib2.py", line 556, in 
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

HTTPError: Internal Server Error

This is the traceback to the error. 

I hope anyone can enlight me on this matter. Thanks a lot. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/207d1708-f78a-4769-8f42-ad78cfcdc02c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Are we supposed to get any response after submitting Standard Access application?

2016-10-11 Thread Peng
Hi,

We submitted a Standard Access Application yesterday but other than the 
"Thank you for you submission" message in the webpage, there has been 
absolutely nothing received. I understand that the review process would 
take much longer. But I'm just wondering if we're supposed to get any kind 
of response from the API compliance team, like an email? I've double/triple 
checked the contact email associated with the MCC account to make sure it's 
up-to-date. I'm just concerned if there was any technical issue causing the 
submission failed. 

BTW, our MCC customer ID is 501-731-6530. Would really appreciate if 
someone could do a quick check.

Thanks,

Peng

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a3351ab5-acef-464a-83da-d39585b8f197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


API usage report?

2016-09-19 Thread Peng
I'm wondering if there is any way to see how many AdWords API operations 
our app has made for given time period. I've done some searching here and 
it looks like, as of 2013, there is no such report available anywhere. Now 
it's 2016. Has things been changed?

Thanks,

Peng

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae0d1964-403b-4e58-99ea-e130074ded5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Shopping Ads On YouTube

2016-06-20 Thread xiangdong peng
What's the process to set up "Shopping Ads On YouTube", is it available for 
creating through API?

What if we want to differentiate bid between Youtube and PLA on Google 
search?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aa5c384f-7830-4b68-9cb7-cdfed838543f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Would AdWords API archive the old campaigns?

2016-06-06 Thread Peng Xi
I see. Thanks very much.

On Monday, June 6, 2016 at 11:21:05 AM UTC-7, Anthony Madrigal wrote:
>
> Hi,
>
> AdWords API does not automatically archive old/unused campaigns. You will 
> need to do it on your own. You can use a Predicate 
> 
>  
> to filter campaigns on some kind of criteria such as "Impressions = 0", 
> then pause or remove them accordingly. Here is a Java example on how to pause 
> campaigns 
> .
>  
> More examples can be found in our other client libraries 
> .
>
> Regards,
> Anthony
> 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/3f9ebe2f-a7e2-4198-ad75-ce64cb4a19e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Would AdWords API archive the old campaigns?

2016-06-06 Thread Peng Xi
As the increasing of the created campaigns, would the API automatically 
archive the old / stopped / removed campaigns, ad groups, etc.? If so, can 
I get the campaigns through the method SELECTOR?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/06959ec9-42e6-4d8f-a3cf-219d6b312f5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: keyword bid update in base campaign with Trial

2016-05-31 Thread xiangdong peng
cool, this will clear the confusion

On Friday, May 27, 2016 at 7:03:44 AM UTC-7, Anthony Madrigal wrote:
>
> Hi Xiangdong,
>
> After some further investigation by our team, we were able to see that 
> these document you mentioned was out of date. We will be updating these 
> docs with the correct behavior.
>
> Thanks for finding this.
>
> Regards,
> Anthony
> 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/8f21699f-9788-4bd6-8268-db84c37cc4c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: keyword bid update in base campaign with Trial

2016-05-25 Thread xiangdong peng
Hi Anthoy,

thanks for confirm, then what does "Changes to entities of the base 
campaign after creating the trial will be applied to the trial 
asynchronously, unless the changed fields were overridden in the draft. 
Changes to the draft have no effect on a trial once it has been created." 
exactly mean in TrialService overview?

Is it possible to get a complete list that the changes in base campaign 
will be applied to trial asynchronously? or the document is wrong.

We are planning to use DraftService/TrialService for bid/creative/landing 
page experiment etc.

Thanks,
Xiangdong





On Wednesday, May 25, 2016 at 12:41:58 PM UTC-7, Anthony Madrigal wrote:
>
> Hi Xiangdong,
>
> Since these are treated as two different campaigns, changes made to the 
> base campaign such as bid updates will not override the bids in the trial 
> campaign.
>
> Cheers,
> Anthony
> 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/1ff6ff5d-71f0-4f06-9d58-7bc783c2d408%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


keyword bid update in base campaign with Trial

2016-05-25 Thread xiangdong peng
I am reading the document here.
https://developers.google.com/adwords/api/docs/reference/v201603/TrialService

Changes to entities of the base campaign after creating the trial will be 
applied to the trial asynchronously, unless the changed fields were 
overridden in the draft. Changes to the draft have no effect on a trial 
once it has been created.

My question here is whether it is possible to change keyword bid in base 
campaign and trial campaign , and the changes in base campaign doesn't 
apply to trial.

I tested the first part, and saw different bid for the keyword in base and 
trial, but I am not sure whether the bid update in base campaign will 
eventually override bid in trial.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69dcb515-3f71-44e0-b3b7-08bc9bfed0f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any simpler way other than listing fields to fetch campaigns?

2016-05-17 Thread Peng Xi
Thank you, Peter.

On Tuesday, May 17, 2016 at 12:59:25 PM UTC-7, Peter Oliquino wrote:
>
> Hi,
>
> You must specify fields in the selector 
> 
>  in 
> order to get campaigns. Alternatively you can run 
> CAMPAIGN_PERFORMANCE_REPORT 
> 
>  to 
> get the stats.
>
> Thanks,
> Peter
> 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/392050b3-cd06-4056-a6fe-4d3b26618977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Any simpler way other than listing fields to fetch campaigns?

2016-05-17 Thread Peng Xi
To get the campaigns, does it have to specify list of fields in 
CampaignService.Selector? Is there any direct service or simpler method to 
make it?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/08da23af-e9dd-4452-afcb-aed991e4c187%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get the entities within the specified DateRange in Selector of CampaignService(v201603)?

2016-05-02 Thread Peng Xi
Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/509a899f-65c5-41e0-ba43-31c1abb124c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get the entities within the specified DateRange in Selector of CampaignService(v201603)?

2016-05-02 Thread Peng Xi
I set DateRange (min, max) in Selector of CampaignService(v201603) to 
retrieve campaigns, while it returned all the results beyond the specified 
dates. Does the DateRange work, and how can I use the DateRange? And is the 
date range for startDate, endDate or the changed date of campaigns?  Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/68dbc546-92df-4603-bc99-4d4465e65893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdWords API Tokens application confirmation?

2015-07-21 Thread Peng
When I first apply for AdWords API Token, I was told to fill out this form (
https://services.google.com/fb/forms/newtokenlow/) to continue the 
application. I followed the direction, filled the form, and submitted it a 
few days ago. Since then I didn't get ANY response. I understand that it 
might take a few weeks for the approval. But I would expect at least an 
email confirmation letting me know that Google has received the 
application. This was particularly concerning as the web form seemed to 
have some glitch and it took me few tries to submit it (at least it looked 
like finally got submitted). I honestly don't know if the application was 
actually received on the other end. Can someone take a look at the records 
and let me know if my application was actually submitted, or I need to do 
it again? The MCC custom ID is 501-731-6530.

Thanks.

Peng

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a76a6ffc-f36f-41a2-81d4-8864f53f470d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API EXCEPTION: TERMS_AND_CONDITIONS_NOT_SIGNED

2015-04-13 Thread Peng
Quick update on this issue. 

Soon after I filled the API Compliance Form (mentioned in my earlier 
reply), I was contacted by the 3rd Party API Compliance team saying 
"there's a technical issue that is preventing our database from reflecting 
that you've signed the terms". I was asked to follow a link to sign the 
agreement and email the signed document (a pdf file) back to them. 
Apparently they have to manually update my account status to reflect the 
fact that I've actually signed the document. Once it's done, I can now 
access the test account without issue.

BTW, some document says that a user can re-sign the agreement by entering 
billing information, which is not applicable anymore, as, per the email "We 
no longer require billing information in order to use the API so you may 
skip this step". Actually, I couldn't even find the menu item for entering 
billing information in my production MCC account.

Hope this helps.

Peng

On Saturday, April 11, 2015 at 12:24:49 AM UTC-7, Peng wrote:

> Anash,
>
> Did you mean the AdWords API Compliance form (
> https://services.google.com/fb/forms/apicontact/)? 
>
> I too have a pending approval AdWords API token and I'm having the exact 
> same issue right now. The form in your reply is for token application, 
> which requires a lot more information that may not be readily available at 
> early development stage (e.g. detail design document and a fully functional 
> web site). In addition, the form clearly says "*DO NOT fill out this form 
> if you just want to use the API for testing*", which is exactly what I 
> (and Guadalupe) was trying to do.
>
> According to the document, a pending approval token should be able to make 
> AdWords API calls against TEST accounts. But the call failed with the 
> TERMS_AND_CONDITIONS_NOT_SIGNED error. BTW, I was using the PHP client 
> library.
>
> I've just filled the AdWords API Compliance form and will update the 
> thread once I get response from them.
>
> Peng
>
> On Friday, April 10, 2015 at 6:07:20 AM UTC-7, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Try filling in this form <https://services.google.com/fb/forms/newtoken/>, 
>> and the token review team would help you with the rest of the steps.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Thursday, April 9, 2015 at 10:03:20 PM UTC-4, Guadalupe Estrada Flores 
>> wrote:
>>>
>>> Hello
>>>
>>> The documentation [
>>> https://developers.google.com/adwords/api/docs/test-accounts] explains 
>>> how to create a MCC test account.
>>> I've done this:
>>>
>>>- Created MCC Production account [717-493-2230]
>>>- According to step 1b. I should enter billing information and 
>>>   accept the Terms and Conditions, so my question is How do I add 
>>> billing 
>>>   information? All I see is "Billing Summary" and then the billing 
>>>   information would belong to each Adwords account, not to MCC 
>>> production.
>>>- Requested Developer Token, right now is still pending aproval, so 
>>>meanwhile I thought I could use it on a MCC Testing Account.
>>>- Created MCC Testing Account [571-682-5659]
>>>- Got Refresh Token from MCC Testing Account and configured my 
>>>ads.properties file
>>>- Tried to make an API call against MCC Testing Account using MCC 
>>>Production Developer Token
>>>   - Always get QuotaCheckError.TERMS_AND_CONDITIONS_NOT_SIGNED 
>>>   Exception
>>>
>>> Can anyone please provide some assistance? What am I missing?
>>> Thanks in advance.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e07c0cf6-e8cf-451f-a35f-03cc11d56308%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API EXCEPTION: TERMS_AND_CONDITIONS_NOT_SIGNED

2015-04-11 Thread Peng
Anash,

Did you mean the AdWords API Compliance form 
(https://services.google.com/fb/forms/apicontact/)? 

I too have a pending approval AdWords API token and I'm having the exact 
same issue right now. The form in your reply is for token application, 
which requires a lot more information that may not be readily available at 
early development stage (e.g. detail design document and a fully functional 
web site). In addition, the form clearly says "*DO NOT fill out this form 
if you just want to use the API for testing*", which is exactly what I (and 
Guadalupe) was trying to do.

According to the document, a pending approval token should be able to make 
AdWords API calls against TEST accounts. But the call failed with the 
TERMS_AND_CONDITIONS_NOT_SIGNED error. BTW, I was using the PHP client 
library.

I've just filled the AdWords API Compliance form and will update the thread 
once I get response from them.

Peng

On Friday, April 10, 2015 at 6:07:20 AM UTC-7, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi,
>
> Try filling in this form <https://services.google.com/fb/forms/newtoken/>, 
> and the token review team would help you with the rest of the steps.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, April 9, 2015 at 10:03:20 PM UTC-4, Guadalupe Estrada Flores 
> wrote:
>>
>> Hello
>>
>> The documentation [
>> https://developers.google.com/adwords/api/docs/test-accounts] explains 
>> how to create a MCC test account.
>> I've done this:
>>
>>- Created MCC Production account [717-493-2230]
>>- According to step 1b. I should enter billing information and accept 
>>   the Terms and Conditions, so my question is How do I add billing 
>>   information? All I see is "Billing Summary" and then the billing 
>>   information would belong to each Adwords account, not to MCC 
>> production.
>>- Requested Developer Token, right now is still pending aproval, so 
>>meanwhile I thought I could use it on a MCC Testing Account.
>>- Created MCC Testing Account [571-682-5659]
>>- Got Refresh Token from MCC Testing Account and configured my 
>>ads.properties file
>>- Tried to make an API call against MCC Testing Account using MCC 
>>Production Developer Token
>>   - Always get QuotaCheckError.TERMS_AND_CONDITIONS_NOT_SIGNED 
>>   Exception
>>
>> Can anyone please provide some assistance? What am I missing?
>> Thanks in advance.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/45ebc67d-49a7-4ba8-ad9b-dfbd2519f505%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Path to getting developer access token for small startup

2015-01-12 Thread Peng
Hey I'm new here so forgive me if the question has been asked and answered 
(I did search but couldn't find similar questions). We're a small startup 
and have some business ideas around helping advertisers manage their cross 
network campaigns, which inevitably, requires access to Google AdWords API 
(how can we do it without Google?). However, when I try to apply for access 
token, I got reply saying that based on historical data my account 
doesn't manage large number of AdWords accounts. If having already managed 
large amount of AdWords accounts is a prerequisite for getting developer 
access token, how could any startup SEM got it. I'm sure no one started 
with managing million dollar campaign budget. Without the developer token, 
how could the startup grow their business and manage more accounts? It's a 
chicken-and-egg problem.

So my question is, what the typical path for a small startup SEM type 
company to obtain developer access token. Of course we can continue develop 
our application with test MCC account, but would like to make sure there is 
indeed a path to make it real eventually.

Any suggestion, feedback, comments are appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3f87c8b-3fb6-4659-81cd-f6f333ba2559%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I filter on PlaceholderTypes in CampaignFeedService?

2014-05-21 Thread Peng Taug
Is that means we can't filter multiple placeholder types with 
CampaignFeedService?

On Thursday, June 6, 2013 2:51:16 PM UTC+8, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi, 
>
> Looks like you can use EQUALS operator. 
> I'll get back to you as for IN operator. 
> (CONTAINS operator is targeted for String values. So it shouldn't be 
> allowed)
>
> Best,
> - Takeshi
>
> On Tuesday, June 4, 2013 12:10:42 AM UTC+9, magnus...@feedeo.com wrote:
>>
>> Hi,
>>
>> I'm trying to run a get call on the CampaignFeedService where I only get 
>> the feeds for site links.
>>
>> I tried creating my selector like this (in Java):
>>
>> Selector selector = new Selector();
>>
>> selector.setFields(new String[] { "CampaignId", "FeedId", 
>> "MatchingFunction", "PlaceholderTypes", "Status" });
>>
>> Predicate idPredicate = new Predicate();
>> idPredicate.setField("CampaignId");
>> idPredicate.setOperator(PredicateOperator.IN);
>> idPredicate.setValues(getIds(campaigns));
>>
>> Predicate typePredicate = new Predicate();
>> typePredicate.setField("PlaceholderTypes");
>> typePredicate.setOperator(PredicateOperator.CONTAINS);
>> typePredicate.setValues(new String[] { 
>> String.valueOf(GooglePlaceholder.SITELINKS) });
>>
>> Predicate statusPredicate = new Predicate();
>> statusPredicate.setField("Status");
>> statusPredicate.setOperator(PredicateOperator.EQUALS);
>> statusPredicate.setValues(new String[] { "ACTIVE" });
>>
>> selector.setPredicates(new Predicate[] { idPredicate, 
>> typePredicate, statusPredicate });
>>
>> return selector;
>>
>>
>> But when I run this I get the following error:
>>
>> [SelectorError.INVALID_PREDICATE_OPERATOR @ 
>> selector; trigger:'PlaceholderTypes']
>> 
>> https://adwords.google.com/api/adwords/cm/v201302";>
>> [SelectorError.INVALID_PREDICATE_OPERATOR @ 
>> selector; trigger:'PlaceholderTypes']
>> 
>> ApiException
>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="SelectorError">
>> selector
>> PlaceholderTypes
>> 
>> SelectorError.INVALID_PREDICATE_OPERATOR
>> SelectorError
>> INVALID_PREDICATE_OPERATOR
>> 
>> 
>> 
>>
>> I also tried using IN as the operator for the placeholder types predicate 
>> but with the same result.
>>
>> Am I going about this in the wrong way?
>>
>> Thanks
>> Magnus Ljung
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: MCC Test Account returning QuotaCheckError.ACCOUNT_INACTIVE on API Call

2013-08-29 Thread PinYun Peng
I have the same problem.

Application Client ID: 
188261182067-vjueniqmj56m5630nggcurqv1crejahd.apps.googleusercontent.com 
Test Account MCM ID: 156-754-4053 

The attach file is soap_xml.log of failed API Call. 
( The access_token and developerToken are replaced by random text. If they 
are necessary, I can re-attach.)


On Wednesday, August 28, 2013 4:59:07 PM UTC+8, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi,
>
> Yes, that shouldn't happen as far as I can tell. A test account is closed 
> and hence should be inactive, but you shouldn't get that error message 
> back. Could you post a sanitized SOAP message so I can take a look?
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


soap_xml.log
Description: Binary data