RESOURCE_EXHAUSTED Error

2022-11-28 Thread Rten Marketo
Hi Team,

We are seeing continuously resource exhausted errors while adding offline
jobs. May I know where to check for quota? It is ambiguous to understand
whether this quota is based on developer token or is it based on User
Oauth2 access token or is it based on API resource?

Could you please provide more info over quotas? and Where to get the quota
info for an API.



> 2022-11-25 03:18:30,810 WARN [grpc-default-executor-0] [] []
> com.google.ads.googleads.lib.request.summary - FAILURE REQUEST SUMMARY.
> Method:
> google.ads.googleads.v11.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations,
> Endpoint: googleads.googleapis.com:443, CustomerID:
> customers/{customerId}/offlineUserDataJobs/27170498362, RequestID:
> 40Qf7-OeA9pEMgh0WKVScQ, ResponseCode: RESOURCE_EXHAUSTED, Fault: Resource
> has been exhausted (e.g. check quota)..
> 2022-11-25 03:18:30,810 INFO [grpc-default-executor-0] [] []
> com.google.ads.googleads.lib.request.detail - FAILURE REQUEST DETAIL.
> Request
> ---
> MethodName:
> google.ads.googleads.v11.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations
> Endpoint: googleads.googleapis.com:443
> Headers: {developer-token=REDACTED, login-customer-id=,
> x-goog-api-client=gl-java/11.0.12 gccl/0.0.0 gapic/ gax/2.6.1 grpc/
> pb/3.18.1}
> Body: resource_name:
> "customers/{CustomerId}/offlineUserDataJobs/27170498362"
> operations {
>   create {
> user_identifiers {
>   hashed_email: ""
> }
>   }
> }
> enable_partial_failure: true



Response

Headers:
Metadata(content-type=application/grpc,request-id=40Qf7-OeA9pEMgh0WKVScQ,date=Fri,
25 Nov 2022 09:18:30 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443";
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443";
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
quota_error: RESOURCE_EXHAUSTED
  }
  message: "Too many requests. Retry in 4 seconds."
  details {
quota_error_details {
  retry_delay {
seconds: 4
  }
}
  }
}
request_id: "40Qf7-OeA9pEMgh0WKVScQ"

Status: Status{code=RESOURCE_EXHAUSTED, description=Resource has been
exhausted (e.g. check quota)., cause=null}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAAguJvC3YJpAAatfV3AFW8%3DW2PquM8vkaUHA14npBoWT%3Dgncrw%40mail.gmail.com.


Not getting descriptiveName_ in Google Ads Customer Get API

2022-08-18 Thread Rten Marketo
Hi Team,
For one of our customers, we are not getting *descriptiveName_ *field in
Customer get API. Below is the customers detail and response from Google
side:

Account Id : 8492474221
Account - Dakota Ferguson, dakota.fergu...@adiglobal.com (confirmed with
the customer)

{"page":{"context":{},"response":{"results_":[{"customerClient_":{"bitField0_":293,"resourceName_":"customers/8492474221/customerClients/8492474221","clientCustomer_":"customers/8492474221","hidden_":false,"level_":0,"timeZone_":"","testAccount_":false,"manager_":false,*"**descriptiveName_":"**"*,"currencyCode_":"","id_":8492474221,"appliedLabels_":[],"status_":2,"memoizedIsInitialized":-1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0},"memoizedIsInitialized":-1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0}],"nextPageToken_":"","totalResultsCount_":0,"fieldMask_":{"paths_":["customer_client.client_customer","customer_client.level","customer_client.manager","customer_client.descriptive_name","customer_client.status","customer_client.id"],"memoizedIsInitialized":-1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0},"memoizedIsInitialized":1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0}},"emptyCollection":{"collectionSize":0}}


You can see in the above response *descriptiveName_* field is empty.
Although, same is coming for other customers, below is the one example:

Account Id - 7397068533
Descriptive Name - TripActions (present in response)

{"page":{"context":{},"response":{"results_":[{"customerClient_":{"bitField0_":357,"resourceName_":"customers/7397068533/customerClients/7397068533","clientCustomer_":"customers/7397068533","hidden_":false,"level_":0,"timeZone_":"","testAccount_":false,"manager_":false,*"**descriptiveName_":"TripActions**"*,"currencyCode_":"","id_":7397068533,"appliedLabels_":[],"status_":2,"memoizedIsInitialized":-1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0},"memoizedIsInitialized":-1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0}],"nextPageToken_":"","totalResultsCount_":0,"fieldMask_":{"paths_":["customer_client.client_customer","customer_client.level","customer_client.manager","customer_client.descriptive_name","customer_client.status","customer_client.id"],"memoizedIsInitialized":-1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0},"memoizedIsInitialized":1,"unknownFields":{"fields":{},"fieldsDescending":{}},"memoizedSize":-1,"memoizedHashCode":0}},"emptyCollection":{"collectionSize":0}}


Can you please check this once? Kindly consider this as a priority.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAAguJvANsnm79Qxgyj_mqZc3hAzubjopNK-YjLDn2W5nz7BaAQ%40mail.gmail.com.


ACTION_NOT_PERMITTED Error while uploading click conversion

2022-05-23 Thread Rten Marketo
HI Team ,

We are observing an Action_NOT_Permitted error for one of our customers
while uploading click conversion.
Could you please let us know how to rectify the error below?

.exception.ServiceExceptionHandler - errors { error_code { authorization_
error: ACTION_NOT_PERMITTED } message: "The user does not have permission to
perform this action on the resource or call a method." } request_id: "
MiuW9BdTTUrmlyxBynYSrA" com.google.ads.googleads.v9.errors.
GoogleAdsException: errors { error_code { authorization_error: ACTION_NOT_
PERMITTED } message: "The user does not have permission to perform this
action on the resource or call a method." } request_id: "
MiuW9BdTTUrmlyxBynYSrA" at com.google.ads.googleads.v9.errors.
GoogleAdsException$Factory.createException(GoogleAdsException.java:42)
Suppressed: com.google.api.gax.rpc.AsyncTaskException: Asynchronous task
failed at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(
ApiExceptions.java:57)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAAguJvCMhXU2gvPwqTG1v_0T4DXw2-Jbh-wMxT%2BXsoYzw5ROig%40mail.gmail.com.


ListAccessibleCustomers Call failed with DEADLINE_EXCEEDED error

2022-03-29 Thread Rten Marketo
Hi Team ,

We are trying to make listaccessible API calls from our application. it is
failing with below error

2022-03-29 01:46:04,671 WARN [grpc-default-executor-0] [] []
> com.google.ads.googleads.lib.request.summary - FAILURE REQUEST SUMMARY.
> Method:
> google.ads.googleads.v9.services.CustomerService/ListAccessibleCustomers,
> Endpoint: googleads.googleapis.com:443, CustomerID: null, RequestID:
> null, ResponseCode: DEADLINE_EXCEEDED, Fault: Deadline exceeded after
> 3599.983123223s. .
> 2022-03-29 01:46:04,672 INFO [grpc-default-executor-0] [] []
> com.google.ads.googleads.lib.request.detail - FAILURE REQUEST DETAIL.
> Request
> ---
> MethodName:
> google.ads.googleads.v9.services.CustomerService/ListAccessibleCustomers
> Endpoint: googleads.googleapis.com:443
> Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/11.0.12
> gccl/0.0.0 gapic/ gax/2.6.1 grpc/}
> Body: Response
> 
> Headers: null
> Body: null
> Failure message: null
> Status: Status{code=DEADLINE_EXCEEDED, description=Deadline exceeded after
> 3599.983123223s. , cause=null}.
> 2022-03-29 01:46:04,768 ERROR [http-nio-8080-exec-6] [067-INS-131]
> [1170ba2#17fd435b4f9]
> com.marketo.leadbulk.webapp.exception.ServiceExceptionHandler -
> io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: Deadline exceeded after
> 3599.983123223s.
> com.google.api.gax.rpc.DeadlineExceededException:
> io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: Deadline exceeded after
> 3599.983123223s.
> at
> com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:51)
> Suppressed: com.google.api.gax.rpc.AsyncTaskException: Asynchronous task
> failed
> at
> com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:57)
> at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
> at
> com.google.ads.googleads.v9.services.CustomerServiceClient.listAccessibleCustomers(CustomerServiceClient.java:362)
> at
> com.marketo.google.client.impl.GoogleAdsApiClientImpl.getAllAccessibleAdsAccounts(GoogleAdsApiClientImpl.java:105)
> at
> com.marketo.leadbulk.service.webapp.service.google.impl.GoogleAdsApiServiceImpl.getCustomers(GoogleAdsApiServiceImpl.java:34)
> at
> com.marketo.leadbulk.service.webapp.controller.v1.google.GoogleAdsApiController.getCustomers(GoogleAdsApiController.java:41)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> org.springframework.web.reactive.result.method.InvocableHandlerMethod.lambda$invoke$0(InvocableHandlerMethod.java:144)
> at
> reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:125)
> at
> reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1816)
> at reactor.core.publisher.MonoZip$ZipCoordinator.signal(MonoZip.java:251)
> at reactor.core.publisher.MonoZip$ZipInner.onNext(MonoZip.java:336)
> at
> reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onNext(MonoPeekTerminal.java:180)
> at
> reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101)
> at
> reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:74)
> at
> reactor.core.publisher.Operators$ScalarSubscription.request(Operators.java:2398)
> at
> reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:2194)
> at
> reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onSubscribe(Operators.java:2068)
> at
> reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:192)
> at
> reactor.core.publisher.MonoFlatMap.subscribeOrReturn(MonoFlatMap.java:53)
> at reactor.core.publisher.Mono.subscribe(Mono.java:4385)
> at reactor.core.publisher.MonoZip.subscribe(MonoZip.java:128)
> at
> reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64)
> at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52)
> at
> reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:236)
> at
> reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:203)
> at
> reactor.core.publisher.MonoFlatMap$FlatMapMain.onComplete(MonoFlatMap.java:18


The same call if we are doing via postman , it is working fine.

Could you please help us with this?

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Migration of Adwords API to Ads API

2022-01-25 Thread Rten Marketo
Hi Team,

we are working on migration of Adwords API to Ads API. As application is
using PHP Adword sdk for adqords. So  we are planning to use google-ads-php.
I have followed steps mentioned in
https://github.com/googleads/google-ads-php/blob/HEAD/README.md#getting-started
.

But i am getting below error after runing the *composer install *command on
terminal

bash-3.2$ cd google-ads-php
> bash-3.2$ composer install
> No composer.lock file present. Updating dependencies to latest instead of
> installing from lock file. See https://getcomposer.org/install for more
> information.
> Loading composer repositories with package information
> Updating dependencies
> Your requirements could not be resolved to an installable set of packages.

  Problem 1

- Root composer.json requires PHP extension ext-grpc * but it is
> missing from your system. Install or enable PHP's grpc extension.

Problem 2

- Root composer.json requires PHP extension ext-protobuf * but it is
> missing from your system. Install or enable PHP's protobuf extension.

To enable extensions, verify that they are enabled in your .ini files:

- /usr/local/etc/php/7.4/php.ini

  - /usr/local/etc/php/7.4/conf.d/ext-opcache.ini

You can also run `php --ini` in a terminal to see which files are used by
> PHP in CLI mode.

Alternatively, you can run Composer with `--ignore-platform-req=ext-grpc
> --ignore-platform-req=ext-protobuf` to temporarily ignore these required
> extensions.


Is it require to run php extension of grpc and protobuf ? what would be the
implication if i use alternative command mentioned in the above output?
i.e.

> i.e Alternatively, you can run Composer with
> `--ignore-platform-req=ext-grpc --ignore-platform-req=ext-protobuf` to
> temporarily ignore these required extensions


Kindly suggest what would be ideal way to proceed with php client
libaries.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAAguJvDT2VERYDPxcQHykMTOzJtwdsYq%2BmJ4HdsKp2_0j%3DYytw%40mail.gmail.com.


Re: Activation of Google ads API for the project which is currently using Adwords API

2022-01-25 Thread Rten Marketo
Any update on above query.

On Tue, Jan 25, 2022 at 6:20 PM Rten Marketo  wrote:

> Thanks Team
>
> After enabling we are getting TOS error.
> {
> "error": {
> "code": 403,
> "message": "The caller does not have permission",
> "status": "PERMISSION_DENIED",
> "details": [
> {
> "@type": "
> type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",
> "errors": [
> {
> "errorCode": {
> "authorizationError": "MISSING_TOS"
> },
> "message": "The developer must sign the terms of service. They can be
> found here: ads.google.com/aw/apicenter"
> }
> ],
> "requestId": "ZY_pbLEi-d4lVcLs_Ix4DQ"
> }
> ]
> }
> }
>
> I have made this call via the developer token / Client id & secret of the
> google console project which is being used in production.
> May i know how to resolve this issue?
>
>
> On Mon, Jan 24, 2022 at 8:59 AM Google Ads API Forum Advisor
>  wrote:
>
>> Hi,
>>
>> Thank you for reaching out to our team and for the included details.
>>
>> Regarding the error, the Google Ads API may not have been enabled yet.
>> You may resolve this by enabling the said API in your Cloud Project, and
>> you may refer to this guide
>> <https://developers.google.com/google-ads/api/docs/oauth/cloud-project?hl=en#enable_the_in_your_project>
>> as to how.
>>
>> After enabling, there should be no other implications (for the AdWords
>> API) except that the error should no longer be occurring. As for the other
>> two items :
>>
>> *Do we create test projects using the same developer token and use that
>> Oauth credential for our dev setup ?*
>>
>> Your current OAuth2 credentials that you have used with your current
>> developer token can be used for your dev or production setup and API calls.
>>
>> *Do we require to create both a new developer token and a test project
>> for our testing purpose*
>>
>> You can use your existing developer token and then create a test account
>> <https://developers.google.com/google-ads/api/docs/first-call/overview?hl=en#test_account>
>> and a separate set of Cloud Project and OAuth2 credentials
>> <https://developers.google.com/google-ads/api/docs/oauth/cloud-project?hl=en>,
>> using the user / email address associated to the test account, if you wish
>> to first test out the API's services and features.
>>
>> Let me know if this helps.
>>
>> Best regards,
>>
>> [image: Google Logo]
>> Peter Laurence Napa Oliquino
>> Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5004Q2VOCBL: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/CAAguJvDzORjN4pYvaUwmOsL4WMG5_Ee-4mpj-%3DkOe9W9Q44Y7Q%40mail.gmail.com.


Re: Activation of Google ads API for the project which is currently using Adwords API

2022-01-25 Thread Rten Marketo
Thanks Team

After enabling we are getting TOS error.
{
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "
type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"authorizationError": "MISSING_TOS"
},
"message": "The developer must sign the terms of service. They can be found
here: ads.google.com/aw/apicenter"
}
],
"requestId": "ZY_pbLEi-d4lVcLs_Ix4DQ"
}
]
}
}

I have made this call via the developer token / Client id & secret of the
google console project which is being used in production.
May i know how to resolve this issue?


On Mon, Jan 24, 2022 at 8:59 AM Google Ads API Forum Advisor
 wrote:

> Hi,
>
> Thank you for reaching out to our team and for the included details.
>
> Regarding the error, the Google Ads API may not have been enabled yet. You
> may resolve this by enabling the said API in your Cloud Project, and you
> may refer to this guide
> 
> as to how.
>
> After enabling, there should be no other implications (for the AdWords
> API) except that the error should no longer be occurring. As for the other
> two items :
>
> *Do we create test projects using the same developer token and use that
> Oauth credential for our dev setup ?*
>
> Your current OAuth2 credentials that you have used with your current
> developer token can be used for your dev or production setup and API calls.
>
> *Do we require to create both a new developer token and a test project for
> our testing purpose*
>
> You can use your existing developer token and then create a test account
> 
> and a separate set of Cloud Project and OAuth2 credentials
> ,
> using the user / email address associated to the test account, if you wish
> to first test out the API's services and features.
>
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2VOCBL: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/CAAguJvA6t%2B%2BRGNuSPw_oO47wPjLijFdiGtqhB%2B3yAXNa5EFDPQ%40mail.gmail.com.


Re: Activation of Google ads API for the project which is currently using Adwords API

2022-01-22 Thread Rten Marketo
Hi team,

Any Info on above queries.  We would like to understand if we enable Ads
API for our google console project, is there any implication on our
production calls?

Thanks & Regards


On Fri, Jan 21, 2022 at 5:10 PM Rten Marketo  wrote:

> HI team,
>
> We are working on migration of Google Adwords to Google Ads API Migration.
> I tried a few of Google Ads API calls using the oauth credential created
> for the project for which Adword API is enabled. Those call failed due to
> below error
>
> curl --location --request GET '
>> https://googleads.googleapis.com/v9/customers:listAccessibleCustomers' \
>> --header 'Content-Type: application/json' \
>> --header 'developer-token: ' \
>> --header 'login-customer-id: ' \
>> --header 'Authorization: Bearer '
>
>
>
>
>> {
>> "error": {
>> "code": 403,
>> "message": "Google Ads API has not been used in project X before or
>> it is disabled. Enable it by visiting
>> https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=
>> <https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=XXX>X
>> then retry. If you enabled this API recently, wait a few minutes for the
>> action to propagate to our systems and retry.",
>> "status": "PERMISSION_DENIED",
>> "details": [
>> {
>> "@type": "type.googleapis.com/google.rpc.Help",
>> "links": [
>> {
>> "description": "Google developers console API activation",
>> "url": "
>> https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=
>> <https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=529154114729>
>> X"
>> }
>> ]
>> },
>> {
>> "@type": "type.googleapis.com/google.rpc.ErrorInfo",
>> "reason": "SERVICE_DISABLED",
>> "domain": "googleapis.com",
>> "metadata": {
>> "consumer": "projects/",
>> "service": "googleads.googleapis.com"
>> }
>> }
>> ]
>> }
>> }
>
>
>
> The project for which I have generated the Oauth credential is being used
> in production.
> A Couple of questions related to activation of google Ads API
>
>- If we activate the Google Ads API for this project and also if our
>code will still make calls using Adword API in production, Does activation
>of ads API cause problems for the Adword calls which are being used in
>production?
>- Do we create test projects using the same developer token and use
>that Oauth credential for our dev setup ?
>- Do we require to create both a new developer token and a test
>project for our testing purpose
>
>
> Thanks & Regards,
> r10.mark...@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 
"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/CAAguJvA_%3DWWvx8-9Nast--%2BtCNx79nDw%3D92%3DmuNq--ok32kH3g%40mail.gmail.com.


Activation of Google ads API for the project which is currently using Adwords API

2022-01-21 Thread Rten Marketo
HI team,

We are working on migration of Google Adwords to Google Ads API Migration.
I tried a few of Google Ads API calls using the oauth credential created
for the project for which Adword API is enabled. Those call failed due to
below error

curl --location --request GET '
> https://googleads.googleapis.com/v9/customers:listAccessibleCustomers' \
> --header 'Content-Type: application/json' \
> --header 'developer-token: ' \
> --header 'login-customer-id: ' \
> --header 'Authorization: Bearer '




> {
> "error": {
> "code": 403,
> "message": "Google Ads API has not been used in project X before or it
> is disabled. Enable it by visiting
> https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=
> X
> then retry. If you enabled this API recently, wait a few minutes for the
> action to propagate to our systems and retry.",
> "status": "PERMISSION_DENIED",
> "details": [
> {
> "@type": "type.googleapis.com/google.rpc.Help",
> "links": [
> {
> "description": "Google developers console API activation",
> "url": "
> https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=
> 
> X"
> }
> ]
> },
> {
> "@type": "type.googleapis.com/google.rpc.ErrorInfo",
> "reason": "SERVICE_DISABLED",
> "domain": "googleapis.com",
> "metadata": {
> "consumer": "projects/",
> "service": "googleads.googleapis.com"
> }
> }
> ]
> }
> }



The project for which I have generated the Oauth credential is being used
in production.
A Couple of questions related to activation of google Ads API

   - If we activate the Google Ads API for this project and also if our
   code will still make calls using Adword API in production, Does activation
   of ads API cause problems for the Adword calls which are being used in
   production?
   - Do we create test projects using the same developer token and use that
   Oauth credential for our dev setup ?
   - Do we require to create both a new developer token and a test project
   for our testing purpose


Thanks & Regards,
r10.mark...@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 
"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/CAAguJvCuVvpRqPz%2Bnxz8Cwa71w1ue5gZ%2BUWjx%3D0wNMzyhnsVCg%40mail.gmail.com.


Identify login customer id after outh2 flow using getCustomer

2022-01-14 Thread Rten Marketo
Hi Team,

We use customerService.getCustomers

call to get login CustomerId from logged-in user's OAuth2 credential .

As per this blog
 multiple
google ads-account can be associated with a single google account(i.e
under a single gmail address). Hence getCustomers api's  response will
consist of a list of customers details.(same is mentioned on
access-multiple-adwords-accounts blog
)

We would think of below possibility of multiple google ads-accounts
use case within a single google account.
1. One manager and multiple ads accounts
2. Multiple ads accounts
3. Multiple manager and multiple ads accounts

Do the above use cases are real or hypothetical? If yes, How to
identify parent account's customer Id from getCustomers response using
the logged-in user's oAuth2 credential? Is there any other API which
can help us to achieve this?

Tried understanding the above cases by creating accounts within my
test manager(*R10*) account(i.e by using "*create new accoun*t" or
"*create new manager accoun*t" under the *sub account setting *of
Manager account). (Referred creating new ad accounts page
).

Below are the accounts we created .
i.e Normal Adaccount -> r21 test account. Manager account ->
r10-child-manager  [image: Screenshot 2022-01-14 at 2.34.38 PM.png]


But still I could see only one customer details under getCutomers api
call from the OAuth2 credential of  my test manager account. Why is
there only one customer details under the getCustomer API call of my
Test account? Is something I missed while creating a new ads account
with the logged-in credential of my test Manager account?


Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAAguJvCM%3D96cMXdZH0Sy%2Bcw%3D7N7ZsMtF0VPJteCuicLQKf4b%3DA%40mail.gmail.com.


Re: Unable to see an adaccount name for which user has manager permission

2021-06-30 Thread Rten Marketo
Any update on this?

On Tue, Jun 29, 2021 at 4:59 PM r10.m...@gmail.com 
wrote:

> Hi Team,
>
> Apologies for the late reply . The Client Customer Id of the "G Adventures
> API(5849061746)" is  6686213225.
>
> Kindly check for the above details
>
> Thanks
> Marketo
> On Tuesday, June 15, 2021 at 9:24:05 AM UTC+5:30 adsapi wrote:
>
>> Hi,
>>
>> Thank you for reaching out. I had to remove your initial posts as it
>> contained the information of your logs.
>>
>> Moving forward, so our team can have a closer look at the issue, could
>> you provide the client account ID of the "G Adventures API" account? Also
>> is the said account indeed under your MCC/manager account's direct
>> hierarchy?
>>
>> In addition, you may also note that, if any Google Ads account has been
>> cancelled or inactive, they will no longer be returned in requests using
>> the ManagedCustomerService
>> 
>> get requests.
>>
>> Best regards,
>>
>> [image: Google Logo]
>> Peter Laurence Napa Oliquino
>> Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5004Q2Iv7Tk: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/6643e69d-9b8f-44bf-8522-69af3799ecc8n%40googlegroups.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/CAAguJvB_cibNVyJALHoNQtLCe06aE7RYOyL8q7fuUpRPogJqrw%40mail.gmail.com.


Re: Unable to see an adaccount name for which user has manager permission

2021-06-13 Thread Rten Marketo
Any info on the below query.

Thanks
Marketo team

On Fri, Jun 11, 2021 at 1:39 PM r10.m...@gmail.com 
wrote:

> Hi team ,
>
> We are having customer match feature where before creating a new audience
> , we fetch   the list of adaccount, (customer has access to) using below
> code.
>
> $adWordsServices = new AdWordsServices();
> $customerService = $adWordsServices->get($this->session,
> ManagedCustomerService::class);
> $selector = new Selector();
> $selector->setFields(array('Name', 'CustomerId', 'CanManageClients'));
>
> This is basically calling get customer of
> https://adwords.google.com/api/adwords/mcm/v201809
>
> below is the soap call
>
> **
>
> * http://schemas.xmlsoap.org/soap/envelope/"; xmlns*:*ns1*=*"
> https://adwords.google.com/api/adwords/cm/v201809"; xmlns*:*ns2*=*"
> https://adwords.google.com/api/adwords/mcm/v201809"*>*
>
> **
>
> **
>
> **6686213225**
>
> **REDACTED**
>
> **Marketo (AwApi-PHP,
> googleads-php-lib/38.0.0, PHP/5.6.40)**
>
> **false**
>
> **true**
>
> **
>
> **
>
> **
>
> **
>
> **
>
> **Name**
>
> **CustomerId**
>
> **CanManageClients**
>
> **
>
> **
>
> **
>
> **
> However , One of our customer complains that they are not seeing one of
> the account (G Adventures API) which they have proper permission.
>
> Client customer id is 6686213225.
> Response of this API does n't have ad account name ""G Adventures API"
> Customer claims that they have proper permission on  this account .
>
> As this is open forum , I am not posting any token related stuff.
>
> Let me know if you need more info.
>
>
>
>
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/9c76da3e-66ae-4580-8472-0d417668c7b3n%40googlegroups.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/CAAguJvDma%2BU4gG4ra2ApdszyKj2UxVUOkAfDubFtzdSEPeBhzA%40mail.gmail.com.


Re: Audience shows Zero Size in Audiences Page even though More than 1k data has been pushed to Google

2019-12-05 Thread Rten Marketo
Thanks for you reply. We will try to reach out the product Support Team

On Friday, December 6, 2019 at 1:12:07 AM UTC+5:30, adsapiforumadvisor 
wrote:
>
> Hello,
>
> Thank you for writing to us regarding your concern. As per this 
> 
>  
> document, for privacy purposes, the user list size will show as zero until 
> the list has at least 1,000 members. After that, the size will be rounded 
> to the two most significant digits. If they are uploading 1087 members 
> successfully and are still seeing size zero in the Google Ads UI, I would 
> recommend reaching out to the product support team via help icon on the top 
> right corner of your Google Ads account (once logged in) as they would be 
> the best bet to assist you with your concerns. Feel free to reach out for 
> any API related concerns.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UODtIU: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/bb237b72-9fb6-49a9-bd93-630004b0930c%40googlegroups.com.


Audience shows Zero Size in Audiences Page even though More than 1k data has been pushed to Google

2019-12-05 Thread Rten Marketo

Hi Team,

Currently one of our customer has complaining that their Audience size 
shows zero when they have pushed 1087 records . We can see that it has been 
pushed successfully through Marketo platform. It is frequent for them.

Audience ids are below
Estat List - 11\22 - 883488270 

IPD Marketo Estat -. 869636668



Let me know if you need any more info.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/735b75bc-0985-46ea-b57c-3dcfb1e08f63%40googlegroups.com.