Questions Related Testing of store sales Transaction data upload via API

2022-02-20 Thread Paid Media
Hi Team,
We have implemented the code for integrating with Store sales transaction 
data upload via API using upload-store-sales-transactions 

 doc. 
And now we wanted to test it and for that we cannot use the production 
data. Which means if we try to upload few hundreds of transactions with *Monte 
Carlo Data* *with random Gmail Ids* we will end up getting into 
*OfflineUserDataJobFailureReason.INSUFFICIENT_MATCHED_TRANSACTIONS *issue
*. *
*And based on this we have following 2 questions:*

1. Is there any way we can do a positive scenario testing, where without 
using production data we can upload few hundreds of transactions and we get 
back a *SUCCESS *response if the formatting is as per documentations?

2. What is the max time taken for the OfflineUserDataJob to complete and 
give back the response?


Regards,
Paid Media Team 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cd9a3f68-47cd-4762-bca3-1a9dd73ffa76n%40googlegroups.com.


Re: Support for Upgraded Extensions in Reports API

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vivek,

I work along with John. Allow me to assist you in this.

Would it be possible for you to provide a screenshot of your Google Ads UI 
showing the report that you want to pull via API? This will greatly help us 
identifying its equivalent field to API side, and so that we could provide 
guidance accordingly.

Regards,

Teejay Wennie
Google Ads API Team
ref:_00D1U1174p._5004Q2Wwaxm: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/a6rTV0R7N9IB00aXlwpu72TW2X-zuF86xXcg%40sfdc.net.


Re: What's the difference in the status of synchronus and asynchronus API processing?

2022-02-20 Thread Paid Media Manager
Hi

Provided link 

 
does not answer my question. Could you please discuss this with your team 
and provide more concrete details?

On Monday, 21 February 2022 at 13:00:41 UTC+5:30 adsapi wrote:

> Hello,
>
>  
>
> I'm Kevin from the Google Ads API Team.
>
>  
>
> As far as we know, the whole process of validation are still done at the 
> backend. You can refer to this link 
> 
>  to 
> learn more on the difference between Asynchronous and synchronous mutates. 
> If you still have any further clarification, just let me know so I can 
> raise it to the rest of our team.
>
>  
>
> Regards,
> [image: Google Logo] 
> Kevin Gil 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Wx28T: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/0f2de649-d83b-4bfd-ab3e-d2c0d5c29cdfn%40googlegroups.com.


Re: Mobile Application info extraction

2022-02-20 Thread AMAP TEST
Team,

This is not what i asked for 
Let me explain my requirement :
When creating an Extension of type APP , GUI provides us with a list of 
Application names and Application ID right . So is there any API in GADS 
that help me with the entire list of these Mobile Application ID and Mobile 
Application Names ?

Attaching here is the screen shot of the information i am interested in to 
be extracted from a REST API .[image: Extension.PNG]


On Saturday, 19 February, 2022 at 12:31:27 am UTC+5:30 adsapi wrote:

> Hello Amap,
>
> Thanks for reaching out to the Google Ads API support. With regards to 
> your query,  you can use ad_group_criterion 
> 
>  
> or campaign_criterion report to retrieve all the information in account 
> by using attribute field mobile_application.app_id or 
> mobile_application.name.
> Please let us know if you have any more questions.
>
> Best regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team 
>
>  
>
>
> ref:_00D1U1174p._5004Q2Wwlk3: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/bb9e406a-8927-4567-859f-c5cebe8e8c63n%40googlegroups.com.


Re: Authorization problem

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Laurent,

I am also a member of the Google Ads API team and let me provide support to 
your concern.

Upon checking your concern, it appears that this is more client library 
related. With this, I am afraid that our team could not provide further support 
here as it is outside of our expertise already. With this, I would suggest to 
reach out to author of the PHP client library instead via this link as they are 
more equipped on this topic.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2WwZFQ: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/MmKSc0R7N8O900ea3YqIG8RGCPf_BkrLvi1A%40sfdc.net.


Re: AdGroupAsset REMOVED Status not working via API

2022-02-20 Thread AMAP TEST

Thanks team . 
On Friday, 18 February, 2022 at 3:14:16 pm UTC+5:30 adsapi wrote:

> Hi,
>
> Thank you for raising this concern to Google Ads API Team.
>
> Upon checking your error, it seems that this is not the right way to 
> remove ad group asset using API. With this, to help you in this scenario, 
> instead of setting *REMOVED* to the status field, you can used the remove 
> 
>  operation. 
> Let me know how it goes after.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Wwlqw: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/decff017-6893-4215-8840-858757e5b018n%40googlegroups.com.


RE: MAXCPC

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Werner,

Thank you for posting your concern.

Could you clarify on what level you want to get the max CPC and set max CPC as 
well so that I can provide the right report type and service that you can use?

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2Wwxkr: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/qf-Sw0R7N6VL001yGrx6Z5RGi_mhRRBVQZvw%40sfdc.net.


RE: c# Account ID´s from Manager Account

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Adam,

Thank you for raising this concern to Google Ads API Team.

To answer your question "How I can get the subAccounts numbers from my manager 
accounts?", you can get the account hierarchy of your manager account, by 
building a Google Ads Query Language statement to query all the child accounts 
specified by the client_customer field from CustomerClient, and executing it 
recursively on the sub-manager accounts. You'll be able to check which accounts 
are directly linked to your manager account and which are indirectly linked 
through sub-managers. For more information kindly check this document.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2Wx1jx: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/Py9nd0R7N6TE001okXAYkHTgSIxnrJJxFaxA%40sfdc.net.


How to remove images/videos from App Campaign Ad?

2022-02-20 Thread Wenjun Yang
Hi, 
I managed to create new campaign with images and videos for AppCampaign.
But I found using AdGroupAd.update could not remove images or videos.

Part of our python code are:

service_name = "AdGroupAdService"
service = self.client.get_service(service_name)
operation_name = "AdGroupAdOperation"
operation = self.client.get_type(operation_name)
update_obj = operation.update

ad_group_ad_resource_name = 'x' 
update_obj.resource_name = ad_group_ad_resource_name
update_obj.ad.app_ad.images = []  # we tried to remove all images from this 
ad

self.client.copy_from(
operation.update_mask,
protobuf_helpers.field_mask(None, update_obj._pb),
)

response = service.mutate_ad_group_ads(
customer_id=self.account_id, operations=[operation]
)


Please help with this, thanks!
Wenjun





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/44ed9b6f-6d3f-40cc-88d1-af73761200fen%40googlegroups.com.


RE: Select campaign marketing objectives via api

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Konstantin,

Thank you for posting your concern. Allow me to provide support here.

The equivalent feature of the provided UI in the Google Ads API is the 
Conversion goals. With this, I would suggest referring to this document to 
manage custom goals for your campaign.

Let me know if you have further questions.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2Wwy98: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/Dxdrb0R7N29800_Wwtvc6iQr6oKPuqrsowwQ%40sfdc.net.


RE: Partial failures occurred: 'This Google Click ID could not be decoded., at conversions[0].gclid'.

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Darren,

Thank you for reaching out to our API support team.

To better investigate the cause of the error you encountered, could you also 
share the complete request and response logs, and request-id, generated when 
you attempted to upload your conversions and when this error occurred?

In addition, you may also perform a click_view request, to verify whether this 
GCLID would be returned for your account.

If you haven't yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. Java) > Logging documentation, which you 
can access from this link.

You may then send the requested information 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.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2Wwy4O: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/4mGHa0R7N28R00-oa_-7M2TOuMeAYPvmkiBQ%40sfdc.net.


Facing error while getting Campaigns

2022-02-20 Thread Sem Milestone
I am getting below error while calling Campaigns from Google Ads api.
Please let me know is anyone have any idea about this error.

Status(StatusCode="Unavailable", Detail="Getting metadata from plugin 
failed with error: Exception occurred in metadata credentials plugin. 
System.Net.Http.HttpRequestException: An error occurred while sending the 
request. ---> System.Net.WebException: The underlying connection was 
closed: An unexpected error occurred on a send. ---> System.IO.IOException: 
Unable to read data from the transport connection: A connection attempt 
failed because the connected party did not properly respond after a period 
of time, or established connection failed because connected host has failed 
to respond. ---> System.Net.Sockets.SocketException: A connection attempt 
failed because the connected party did not properly respond after a period 
of time, or established connection failed because connected host has failed 
to respond

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9ca3f6d0-d392-49c8-9bff-7d4de7185b6en%40googlegroups.com.
Status(StatusCode="Unavailable", Detail="Getting metadata from plugin failed 
with error: Exception occurred in metadata credentials plugin. 
System.Net.Http.HttpRequestException: An error occurred while sending the 
request. ---> System.Net.WebException: The underlying connection was closed: An 
unexpected error occurred on a send. ---> System.IO.IOException: Unable to read 
data from the transport connection: A connection attempt failed because the 
connected party did not properly respond after a period of time, or established 
connection failed because connected host has failed to respond. ---> 
System.Net.Sockets.SocketException: A connection attempt failed because the 
connected party did not properly respond after a period of time, or established 
connection failed because connected host has failed to respond
   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
   --- End of inner exception stack trace ---
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, 
TransportContext& context)
   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult 
ar)
   --- End of inner exception stack trace ---
   at Google.Apis.Http.ConfigurableMessageHandler.d__69.MoveNext() 
in 
C:\Apiary\2021-07-28.10-11-20\Src\Support\Google.Apis.Core\Http\ConfigurableMessageHandler.cs:line
 514
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at 
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
 task)
   at 
Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions.d__1.MoveNext()
 in 
C:\Apiary\2021-07-28.10-11-20\Src\Support\Google.Apis.Auth\OAuth2\Requests\TokenRequestExtenstions.cs:line
 56
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at 
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
 task)
   at 
Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.d__42.MoveNext()
 in 
C:\Apiary\2021-07-28.10-11-20\Src\Support\Google.Apis.Auth\OAuth2\Flows\AuthorizationCodeFlow.cs:line
 338
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at 
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
 task)
   at 
Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.d__38.MoveNext()
 in 
C:\Apiary\2021-07-28.10-11-20\Src\Support\Google.Apis.Auth\OAuth2\Flows\AuthorizationCodeFlow.cs:line
 287
--- End of stack trace from previous location where exception was thrown ---
   at S

RE: Developer doesn't have permission to access service

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thanks for reaching out to the Google Ads API Forum.

Could you provide us with the complete request and response logs with the 
request-id, so our team can better check?

For the client library, logging can be enabled by navigating to the Client 
libraries > Your client library (ex select Python) > Logging documentation, 
which you can access from this link. You may then send the requested 
information 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 by referring to this thread.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Www2A: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/FHLb_0R7MZU100OfApFh9cRGONtkqzES4Rdw%40sfdc.net.


RE: have a trouble generate Keyword Ideas

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thanks for reaching out to the Google Ads API Forum.

Could you provide us with the complete request and response logs with the 
request-id, so our team can better check?

For the Java client library, logging can be enabled by following logging 
documentation, which you can access from this link. You may then send the 
requested information 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.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Wwvka: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/5J66V0R7MY4600MhQDv5kQRamoefZYtE-rlw%40sfdc.net.


Re: TopOfPageBid and FirstPageBid

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Werner,

Thank you for the replies.

In order to get the maxCPC bids, I recommended that you follow this report then 
include this field. As for setting of maxCPC, you can use the update operation 
of the AdGroupCriterionOperation to change the cpc_bid_mircos field of the 
AdGroupCriterion specifically of the keywords.

Let me know if you have further questions with the provided documents.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2WwjAI: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/U3bPV0R7MW6R00dbCvAWnTQ-SjFq5hMHn6UQ%40sfdc.net.


RE: Developer doesn't have permission to access service

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to our API support team.

So our team can troubleshoot the SERVICE_ACCESS_DENIED error, you may refer to 
the below items :

Could you confirm whether your developer token was indeed approved for the 
Google Ads API? If the developer token was approved for a different API then 
you may clarify this with the Compliance Team via this contact form.
Could you confirm if the user / email address that was used to generate the 
OAuth2 credentials had the appropriate access level to manage the account?

If the developer token was indeed approved for the Google Ads API, and the 
credentials have the appropriate access from the user, then you may provide our 
team with the complete details of your logs so we can investigate further.

You may then send the complete logs 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.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2Www46: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/kUxJ40R7MW4800mWDiFjjSTRGWJ8ZYIvUCMQ%40sfdc.net.


Re: How to know if we have "wbraid" click IDs enabled?

2022-02-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for your reply and we understand the inconvenience you are 
encountering with this issue.

However, as per our API documentation that my colleagues have also earlier 
shared, and what you also mentioned in your initial post, both gbraid and 
wbraid currently require an allowlisting :

Starting with iOS14, clicks may contain a wbraid parameter (for clicks 
associated with web conversions) or a gbraid parameter (for clicks associated 
with app conversions) instead of the gclid parameter. This feature is currently 
behind an allowlist, and we expect to eventually roll it out to all users.

>From our API team's perspective, this can then be requested by a Google 
>representative on your behalf. Our team unfortunately does not have visibility 
>to the conditions required to acquire a Google representative, however, we 
>recommend that you clarify once more with the Product team on how you may 
>acquire one.

Moving forward, if the Product team can confirm that your account is already 
indeed allowlisted, you may proceed using the said parameter in your API 
requests.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2WwDPJ: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/kT-YW0R7MV9600dzkE5DgfTGyvNxB17gib-A%40sfdc.net.


filter excluded item id from shopping_performance_view report

2022-02-20 Thread Yon
Hi,

I want to filter excluded item ids from this query:
"var query = "SELECT campaign.status,campaign.name, metrics.cost_micros, 
metrics.conversions_value, metrics.conversions, segments.product_item_id 
FROM shopping_performance_view WHERE campaign.status = 'ENABLED' AND 
metrics.cost_micros > 0 ";

Is there a way to do that?
[image: cap1.PNG]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/84bf553e-e11d-4450-882f-624d3d846ad4n%40googlegroups.com.


filter excluded items

2022-02-20 Thread Yon
Hi,

I want to filter excluded items from this query:
"var query = "SELECT campaign.status,campaign.name, metrics.cost_micros, 
metrics.conversions_value, metrics.conversions, segments.product_item_id 
FROM shopping_performance_view WHERE campaign.status = 'ENABLED' AND 
metrics.cost_micros > 0 ";

Is there a way I can do that?
[image: cap1.PNG]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f7ae1c7b-ec45-4f5d-ac93-e2ef8ddf4806n%40googlegroups.com.


Re: Add many keywords to the ad group via one request

2022-02-20 Thread Dmitry Shvetsov
I've found decision by adding many elements to 
"operations=[ad_group_criterion_operation]" list. It's working correctly. 
Thank you for attention!
Changes in code:
# Create keyword.
ad_group_criterion_operations = []
for keyword_text in keyword_texts:
ad_group_criterion_operation = 
client.get_type("AdGroupCriterionOperation")
ad_group_criterion = ad_group_criterion_operation.create
ad_group_criterion.ad_group = ad_group_service.ad_group_path(
customer_id, ad_group_id
)
ad_group_criterion.status = 
client.enums.AdGroupCriterionStatusEnum.ENABLED
ad_group_criterion.keyword.text = keyword_text
ad_group_criterion.keyword.match_type = (
client.enums.KeywordMatchTypeEnum.BROAD  # EXACT, PHRASE, 
BROAD
)

ad_group_criterion_operations.append(ad_group_criterion_operation)

# Optional field
# All fields can be referenced from the protos directly.
# The protos are located in subdirectories under:
# 
https://github.com/googleapis/googleapis/tree/master/google/ads/googleads
# ad_group_criterion.negative = True

# Optional repeated field
# ad_group_criterion.final_urls.append('https://www.example.com')

# Add keyword
ad_group_criterion_response = (
ad_group_criterion_service.mutate_ad_group_criteria(
customer_id=customer_id,
operations=ad_group_criterion_operations,
)
)

On Saturday, February 19, 2022 at 11:53:40 PM UTC+3 Dmitry Shvetsov wrote:

> Hello!
> Using this example 
>
> https://github.com/googleads/google-ads-python/blob/c0b02a2a3ee444e5e6a105417e6ffcdba27e7674/examples/basic_operations/add_keywords.py
>
> I can add to the ad group only one keyword via one API request.
> How to create many keywords using one API request?
>
> PS I'm creating ad groups having 1000 keywords and it's awkward to make 
> 1000 requests.
>
> 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 
"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/44dbc873-a461-4692-95ce-44e48222e6c5n%40googlegroups.com.


Re: Permission Denied error received in Google Ads API, but not for AdWords API

2022-02-20 Thread gardella...@gmail.com
Solved. The problem was I was create credentials using the customer id. In 
order to fix it, I create the credential using the root account id and 
during queries, I have to choose the login-customer-id. By playing with 
https://developers.google.com/google-ads/api/docs/migration/login-customer-id 
was useful. Example:

  static GoogleAdsClient getClient() {
return GoogleAdsClient.newBuilder().setCredentials(getCredential())//
.setLoginCustomerId(rootCustomerId)//
.setDeveloperToken(developerToken).build();
  }

  private static Credentials getCredential() {
return 
UserCredentials.newBuilder().setClientId(clientId).setRefreshToken(refreshToken)
.setClientSecret(clientSecret).build();
  }

And when doing the queries, choose the proper loginCustomerId

SearchGoogleAdsStreamRequest request = 
SearchGoogleAdsStreamRequest.newBuilder().setCustomerId(
Long.toString(loginCustomerId)).setQuery(query).build();


On Sunday, February 20, 2022 at 11:44:23 AM UTC-3 gardella...@gmail.com 
wrote:

> Hi,
>
> I am having the same issue. How did you solve it?
>
> Thanks,
> Juan
>
> On Friday, November 22, 2019 at 1:59:54 PM UTC-3 Google Ads API Forum 
> Advisor Prod wrote:
>
>> Hi Paul,
>>
>> When we make an API request it is very important that we make sure there 
>> is a link between the manager account authenticated in the request and the 
>> client account specified in the headers. Also you have to make sure the 
>> *OAuth2 
>> credentials* that are being used belong to the manager account you are 
>> authenticating. Could you please provide your main MCC customer Id and 
>> specify the ones that are working and the ones that you encounter issues 
>> with? Please reply to us with the above information via the *Reply 
>> privately to author* option.
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>
>>
>> ref:_00D1U1174p._5001UOCwYj: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/25bed54e-cd1c-4690-a670-8c7aaee16da3n%40googlegroups.com.


Re: Permission Denied error received in Google Ads API, but not for AdWords API

2022-02-20 Thread gardella...@gmail.com
Hi,

I am having the same issue. How did you solve it?

Thanks,
Juan

On Friday, November 22, 2019 at 1:59:54 PM UTC-3 Google Ads API Forum 
Advisor Prod wrote:

> Hi Paul,
>
> When we make an API request it is very important that we make sure there 
> is a link between the manager account authenticated in the request and the 
> client account specified in the headers. Also you have to make sure the 
> *OAuth2 
> credentials* that are being used belong to the manager account you are 
> authenticating. Could you please provide your main MCC customer Id and 
> specify the ones that are working and the ones that you encounter issues 
> with? Please reply to us with the above information via the *Reply 
> privately to author* option.
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>
> ref:_00D1U1174p._5001UOCwYj: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/f41c4e01-eba0-4203-8005-bc1a1b6a6eben%40googlegroups.com.