RE: Handle PERMISSION_DENIED errors

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi all,

Thank you for reaching out to our API support team.

Regarding your concern about the USER_PERMISSION_DENIED error. The authorized 
customer does not have access to the operating customer. The common cause of 
this is when authenticating as a user with access to a manager account but not 
specifying login-customer-id in the request. To prevent this kind of error, I 
would suggest specifying the login-customer-id as the manager account ID 
without hyphens (-).

That being said, you will need to ensure that the user / email address you used 
to generate the credentials indeed has access to the account in your request. 
If the user / email address has access or is associated with the MCC / manager 
account, you will need to specify the MCC / manager account's ID without 
hyphens (-) as the value of the login-customer-id field.

If the issue still persists, please provide us the complete and recent request 
and response logs with request ID and request header generated on your end 
along with the email address used to generate the OAuth2 credentials, so that 
our team will investigate this problem.

You can provide it via the Reply privately to author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com.



Best,

Anthony Cyril
Google Ads API Team
ref:_00D1U1174p._5004Q2bdNgT: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/YypXg0RD53XW00qgdv70KySoS32v5wHazUaQ%40sfdc.net.


RE: Get conversion aciton types of my clients

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Uros,

Thank you for posting your concern.

To provide answers to your concern, I am afraid that you can only get the 
conversion actions (with its type) that can be seen directly in the MCC account 
that you've set in the request header, not including the conversion actions of 
the client accounts under it. With this, I would suggest using the 
customer_client, then take note of the client accounts that it will return. 
Lastly, make a conversion_action report for each returned client account.

Let me know if you have further questions.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2bd8KT: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/9lpP_0RD4ZMT00eoC4avZgQW-nM3L_rdsP6g%40sfdc.net.


RE: How to fetch "User list name" & "segments.date"

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Aarthi,

Thank you for posting your concern.

To answer your concern, I would suggest using the 
campaign_criterion.display_name field instead or adding it in the 
campaign_audience_view query as it can also get the user list name and to 
address the issue.

Let me know if you have further questions.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2bd8E5: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/Qum9O0RD4YS700kiltYHuIRqqV-8LXTBWsIQ%40sfdc.net.


Handle PERMISSION_DENIED errors

2022-06-07 Thread Gunaseelan Chinniah
Hello All,

We have an issue with PERMISSION_DENIED and this is a typical case. As an 
agency we need to look into the budget spend of all our accounts(customer 
Id) and we have a significant number of customer id's in our MCC. 

Everything is running great, but sometimes our clients revoke the 
permissions to our MCC which causes the entire application feature to fail 
as we get the following error message. We can fix it by removing the 
particular customer id from our database, but there should be some way to 
handle this error and skip that customer id and show the rest of the 
customers. Any help is appreciated and thanks in advance.

{ "message": "The caller does not have permission", "code": 7, "status": 
"PERMISSION_DENIED", "details": [ { "@type": 
"type.googleapis.com\/google.ads.googleads.v10.errors.GoogleAdsFailure", 
"errors": [ { "errorCode": { "authorizationError": "USER_PERMISSION_DENIED" 
}, "message": "User doesn't have permission to access customer. Note: If 
you're accessing a client customer, the manager's customer id must be set 
in the 'login-customer-id' header. See 
https:\/\/developers.google.com\/google-ads\/api\/docs\/concepts\/call-structure#cid"
 
} ], "requestId": "oPnFAn7LgarGFOowTL_pOg" } ] }

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1dcb30f8-3c28-4400-9293-e00d8d4acb01n%40googlegroups.com.


Campaign Settings available via API

2022-06-07 Thread Susanna Skelley
I am looking to get access to campaign setting data, via the Google Ads 
API. Specifically, the Target ROAS bid settings, by campaign. Is this 
currently available via the 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 
"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/499cc5b5-5dc4-4f73-a1e4-e719e3cef16en%40googlegroups.com.


Re: Private message regarding: Multiple video_ids for a single ad_group_ad_id in the video report

2022-06-07 Thread Satish Pinnuri
Hello Yasar,

Thank you for your response. Let me talk to my team regarding this and get
back to you.

On Tue, 7 Jun 2022 at 11:51, Google Ads API Forum Advisor
 wrote:

> Hi Satish,
>
> Thank you for your patience on this issue. I’ve received an update from my
> team.
>
> In Google Ads API perspective, this behavior is supported and is not
> unexpected. A VideoResponsiveAd can have multiple videos, and it supports
> mutability. You may let us know if something is breaking due to this
> behavior of VideoResponsiveAd, so that I can share it with my rest of the
> team.
>
> Regards,
> [image: Google Logo]
> Yasar
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2aQX4v: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/CAJ8nkuJFYDt1EDmtCd20MORyZpRdwV%2BfJRzBw9ChXJtmqoRTCQ%40mail.gmail.com.


Re: Page token has expired

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alin,

Is it possible for you to use the SearchStream method instead of Search? If you 
do not require paginated results, the SearchStream method will work better as 
the entire result is cached in a data buffer. Please see this page on streaming 
for more details on Search/SearchStream. In general, we recommend using 
SearchStream whenever possible.

Additionally, you may try breaking your report up into smaller date ranges, or 
use fewer fields in your report, if possible.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2bd4dK: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/9SVXr0RD4EHM00NcLYLI6MR3izTmwwJ28skQ%40sfdc.net.


Re: Private message regarding: Multiple video_ids for a single ad_group_ad_id in the video report

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Satish,

Thank you for your patience on this issue. I’ve received an update from my team.

In Google Ads API perspective, this behavior is supported and is not 
unexpected. A VideoResponsiveAd can have multiple videos, and it supports 
mutability. You may let us know if something is breaking due to this behavior 
of VideoResponsiveAd, so that I can share it with my rest of the team.

Regards,

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


Get conversion aciton types of my clients

2022-06-07 Thread Uros Ceranic
Hello everyone,

I am trying to find a way to dinamically fecth the conversion action types 
IDs, so that i can use them and later upload offline conversion.
If i have mutliple clients, and each of them have it's own conversion 
aciton types, how do i fetch them using REST API. I am not using any 
library.

Why can't i use the query below, i am adding id of a manager account to 
request header as said in docs.

SELECT conversion_action.app_id, customer.id, conversion_action.name, 
conversion_action.category, customer.id FROM conversion_action WHERE 
customer.id = ${customerId}


If remove "WHERE"  clause, i am getting back conversion types of my 
account, but i dont' get any from the client.

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
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/91ec721e-8d6c-4a2a-85d0-fcd2a1fc2ec1n%40googlegroups.com.


How to fetch "User list name" & "segments.date"

2022-06-07 Thread Aarthi Ilangovan
I am using a similar query like below for migrating Audience performance 
report : 

*"SELECT customer.id, campaign.id ,  
user_list.name   FROM campaign_audience_view WHERE customer.id 
= AND segments.date DURING * 
*LAST_30_DAYS "*

I am getting the error that user_list and date fields are incompatible. I 
know that they are mentioned incompatible 
in 
https://developers.google.com/google-ads/api/fields/v10/ad_group_audience_view_query_builder.
 

*But it doesn't make sense. How am I supposed to fetch the user_list data 
based on date information? *

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/02c1831f-58f6-4663-b352-e7612017834cn%40googlegroups.com.


RE: Issue on Customer Client Link with REST API

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Kazi,  Thank you for reaching out to Google Ads API support. The errors 
returned are a good starting point to find out how to send a correct request.

For the error "RESOURCE_NAME_MALFORMED" for field Name "client_customer" the 
specifics of the error returned is "Resource name '1650865311' is malformed: 
expected 'customers/{customer_id}"for "fieldName": "client_customer" To fix 
this you can replace the value of "1650865311" for the key "clientCustomer" 
with  "customers/1650865311".

For the error "CANNOT_SET_ID_FOR_CREATE" for field name "resource_name" the 
specifics of the error returned is "Do not set the id field while creating new 
resources." To fix this you can remove the key - value pair of "managerLinkId", 
it is already implied by the HTTP header which should be 
"https://googleads.googleapis.com/v10/customers/1650865311/customerClientLinks:mutate;.

For the error IMMUTABLE_FIELD for the field name "hidden", the specifics of the 
error is "Field 'hidden' cannot be modified by 'CREATE' operation.". To fix 
this error you may take out the key - value pair of "hidden" from the "create" 
operation and update the "hidden" field in a second "update" operation.

Here are 2 operations that will get you the desired outcome:

{
    "operation": { 
        "create": {
         "status": "PENDING",
  "clientCustomer": "customers/1650865311",
   
}
        },
     
}

{
    "operation": { 
"updateMask": "hidden",
        "update": {
"resourceName": 
"customers/1650865311/customerClientLinks/1650865311~1650865311",
"hidden": true
   
}
        },
     
}


Feel free to get back to us.

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2bd2cU: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/df8zT0RD42S400qDd8aeF0SVyRfRJy5M9Xkw%40sfdc.net.


Re: Page token has expired

2022-06-07 Thread Alin Alex
Hello, thank you for the response but

As we can see in the logs that I've provided, those logs are coming from 
the client library itself and are not altered by us by any means, we have a 
page size of 1000 and the time between each request is likely 3-6 minutes. 
I do not think is because of the processing time, because every run is 
failing after 4 hours.
You do not think is another timeout issue with another API component?

On Tuesday, June 7, 2022 at 5:07:05 PM UTC+3 adsapi wrote:

> Hi Alin,
>
> Thank you for reaching out to us.
>
> Please note that Page token has expired error indicates that the token 
> used to retrieve a page of results from a search request has expired.
>
> Specifically when you make a search request in Python an iterator is 
> returned that, under the hood, makes multiple requests to the API as you 
> iterate over it. Each request retrieves a "page" of results, the size of 
> which is defined by the page_size parameter seen here 
> 
>  
> .
>
> If you submit a request that generates 10,000 rows and the page_size is 
> set to 1,000 then the iterator will end up making 10 requests, each for 
> 1,000 rows at a time.
>
> The first response for rows 1 - 1,000 will include a page token that gets 
> passed back to the API so it knows to retrieve rows 1,001 - 2,000, (this is 
> all handled implicitly by the iterator).
>
> In addition, those page tokens have a life span of two hours. If you try 
> to grab the next token after life span, then you might get that error. For 
> example if you submitted a request for a report with a page_size of 10,000 
> with a process that spent roughly 84 seconds processing each row the page 
> token could expire by the time the next page was requested.
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bd4dK: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/ce96aa18--47bc-834c-4d6c862df46en%40googlegroups.com.


Re: How to receive promotional codes via Ads API

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Michael,

Thank you for checking in. Our team does not have any updates on the feature 
request. Feature request progress/timelines are generally kept internal and are 
subject to review. If the feature is implemented in a future version of the 
API, it will be announced on the release notes.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2W5R28: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/wAyWr0RD423T00u7j0uxOrQViYtHNkJaeQxw%40sfdc.net.


RE: Use Google Ads API Token with new GCP Project

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Nikolai,

Thank you for reaching out to the Google Ads API team.

Moving forward to your concern, you mentioned that you've encountered the 
DEVELOPER_TOKEN_PROHIBITED error. The said error occurs when the developer 
token is not allowed with the project sent in the request.

As per this document, each Google API Console project can be associated with 
the developer token from only one manager account. Once you make a Google Ads 
API request, the developer token is permanently paired to the Google API 
Console project. If switching to a developer token under a new manager account, 
you'll need to create a new Google API Console project for Google Ads API 
requests that use the new manager's token. If you do not use a new Google API 
Console project, you'll get a DEVELOPER_TOKEN_PROHIBITED error when making a 
request.

That said, could you confirm if you can still create a new cloud project and 
credentials?

Regards,

Carmela
Google Ads API Team
ref:_00D1U1174p._5004Q2bd3Cc: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/aACXy0RD422300ASDM2h5WQ8i__z8_EiA5pg%40sfdc.net.


RE: Page token has expired

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alin,

Thank you for reaching out to us.

Please note that Page token has expired error indicates that the token used to 
retrieve a page of results from a search request has expired.

Specifically when you make a search request in Python an iterator is returned 
that, under the hood, makes multiple requests to the API as you iterate over 
it. Each request retrieves a "page" of results, the size of which is defined by 
the page_size parameter seen here .

If you submit a request that generates 10,000 rows and the page_size is set to 
1,000 then the iterator will end up making 10 requests, each for 1,000 rows at 
a time.

The first response for rows 1 - 1,000 will include a page token that gets 
passed back to the API so it knows to retrieve rows 1,001 - 2,000, (this is all 
handled implicitly by the iterator).

In addition, those page tokens have a life span of two hours. If you try to 
grab the next token after life span, then you might get that error. For example 
if you submitted a request for a report with a page_size of 10,000 with a 
process that spent roughly 84 seconds processing each row the page token could 
expire by the time the next page was requested.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2bd4dK: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/2yAag0RD41VD00Ehk0UgpQRUivS_vn8v-ocQ%40sfdc.net.


Page token has expired

2022-06-07 Thread Alin Alex
Currently we are making some search calls to googleads using search method 
with python client library.
After 4 hours we get message: "Page token has expired."

We have the following questions:
Because from the logs we cannot see and the implementation of pagination is 
implemented directly into the python library, the error is being thrown on 
the iteration part or when we try to grab the next 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/9463d014-9154-43a4-a783-9428a2facbb6n%40googlegroups.com.


- INFO: Request made: ClientCustomerId: 606852287
Description: Binary data


Re: How to receive promotional codes via Ads API

2022-06-07 Thread Michael Schütz
Hi,

is there any news about feature request to receive adjustment type via API. 
This would be highly important for is. You told feature request was already 
raised. Is there any progress? Can you provider link for me to check status?

Thanks a lot.

Best
Michael


adsapi schrieb am Montag, 28. Februar 2022 um 08:03:46 UTC+1:

> Hi Michael,
>
> Thank you for providing further details.
>
> As already mentioned by my colleague, the information that you are looking 
> for is currently not possible to get via Google Ads API. However, we have 
> already raised a feature request for this to my team, subject for review. 
> For now, please follow our blog 
>  as 
> will post relevant updates there when it becomes supported.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W5R28: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/6751481c-e1f2-43bc-9ef9-9d1b5773def7n%40googlegroups.com.


Use Google Ads API Token with new GCP Project

2022-06-07 Thread Nikolai Wiskow
Hey support,

during our upgrade from the AdWords API to the Google Ads API, we ran into 
an issue regarding the API token.

We had to rebuild our OAuth2 Flows for various reasons, and now we always 
receive the following error:

DEVELOPER_TOKEN_PROHIBITED "Developer token 'X' is not allowed with 
project 'X'.

We already regenerated the API token manually through our Google Ads 
account, but that doesn't help.

As I take it, a developer token can only be used with one specific cloud 
project ID and a possible solution I found was to generate an entirely new 
Google Cloud Project. But that would be extremely inpractical.

Is there any other way to solve this error?

Thanks,
Nikolai

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8113fd66-b55c-4298-bc75-14dbddce6af0n%40googlegroups.com.


Re: Customer is not allowlisted for accessing this feature WBRAID

2022-06-07 Thread Ronak Shah
Hello,

Thank you for your response. It’s not just limited to one account because
we have an mcc account where we manage the campaigns of our clients.
Currently we need api access to client customer I’d 627-705-1548 where we
are making api calls to post the offline conversions, however we will make
api calls to other accounts too which are under the mcc account. So we need
to get this feature enabled for all accounts that we authorize in our
internal software. Our mcc customer id is 366-456-1482 which have standard
api access.

Can you enable this feature for our developer token so that we can use this
api freely without having to make request for each account?

Regards,
Ronak






On Mon, 6 Jun 2022 at 8:36 AM, Google Ads API Forum Advisor
 wrote:

> Hi Ronak,
>
> Thank you for the reply.
>
> So that I can discuss this within the team, would you be able to provide
> the accounts that you want to allowlist for WBRAID?
>
> Regards,
> [image: Google Logo]
> Ernie John
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2Ww4QF: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/CAJuRDGmXqif-d-c1KSR_%3D0re5uN78CxAL9%3Dr7YgBJvPEzmYrsg%40mail.gmail.com.


Re: can i had multiple account reports from multiple manager? is it possible?

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Disam,

Thank you for this clarification. Yes, I can confirm that you must apply to 
basic access to make it the call API works right. For more information, you can 
check it out here in Access Levels and Permissible Use. Let me know if you have 
any additional questions with the provided document.

Best regards,

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


Issue on Customer Client Link with REST API

2022-06-07 Thread Kazi Khayruzzaman
Hi Google Ads team, 
I'm trying to use this documentation 
https://developers.google.com/google-ads/api/rest/reference/rest/v10/customers.customerClientLinks/mutate#MutateCustomerClientLinkResult
  

to create link between a Manager account and a client account. 
I have added the necessary headers, Authorization, login-customer-id, 
developer-token. But still no solution to this.

*Whenever I send this:* 

{
  "operation": {
   
  "create": {
  "resourceName": 
"customers/1650865311/customerClientLinks/1650865311~2738633711",
  "status": "PENDING",
  "clientCustomer": "1650865311",
  "managerLinkId": "2738633711",
  "hidden": false
  },
  },
  "validateOnly": true
}

*It gives me this  error:* 

  "error": {
"status": "INVALID_ARGUMENT", 
"message": "Request contains an invalid argument.", 
"code": 400, 
"details": [
  {
"errors": [
  {
"errorCode": {
  "requestError": "RESOURCE_NAME_MALFORMED"
}, 
"message": "Resource name '1650865311' is malformed: expected 
'customers/{customer_id}'.", 
"location": {
  "fieldPathElements": [
{
  "fieldName": "operation"
}, 
{
  "fieldName": "create"
}, 
{
  "fieldName": "client_customer"
}
  ]
}
  }, 
  {
"errorCode": {
  "requestError": "IMMUTABLE_FIELD"
}, 
"message": "Field 'hidden' cannot be modified by 'CREATE' 
operation.", 
"location": {
  "fieldPathElements": [
{
  "fieldName": "operation"
}, 
{
  "fieldName": "create"
}, 
{
  "fieldName": "hidden"
}
  ]
}
  }, 
  {
"errorCode": {
  "newResourceCreationError": "CANNOT_SET_ID_FOR_CREATE"
}, 
"message": "Do not set the id field while creating new 
resources.", 
"trigger": {
  "stringValue": 
"customers/1650865311/customerClientLinks/1650865311~2738633711"
}, 
"location": {
  "fieldPathElements": [
{
  "fieldName": "operation"
}, 
{
  "fieldName": "create"
}, 
{
  "fieldName": "resource_name"
}
  ]
}
  }
], 
"@type": 
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure", 
"requestId": "gbIWqnm3MvgcnhTzUZShYw"
  }
]
  }
}
 

Can't find out what's the right argument. 
How to do this in right way with REST 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 
"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/88ac8de0-7640-48e7-8e1c-5b295e8007den%40googlegroups.com.


Re: can i had multiple account reports from multiple manager? is it possible?

2022-06-07 Thread dimas ilham
so let's make it clear if I apply for a developer token like the one in the 
API center under set up settings. It can't work since it's for a test 
developer token and must apply to basic access to make it the call API 
works right?
Pada Selasa, 07 Juni 2022 pukul 17.09.06 UTC+7 adsapi menulis:

> Hi Dimas,
>
> Thank you for the reply.
>
> Yes, I could confirm that you can generate a set of reports from a list of 
> accounts in parallel using this code example 
> 
>  
> using the Client library.
>
> Moving forward to the DEVELOPER_TOKEN_NOT_APPROVED error, this might be 
> connected to your account access because  like what you have said, your API 
> access is still in test and the presented issue is caused by making a call 
> against a production account with a developer token only approved for test 
> access. You can apply for Basic Access by following the steps outlined 
> here 
> 
> .
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bbd9I: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/467fb534-3d3f-49fc-89a4-ed774527f2ccn%40googlegroups.com.


Re: can i had multiple account reports from multiple manager? is it possible?

2022-06-07 Thread dimas ilham
Hi team, thanks a lot for the response, so I want to make it clear if I 
want to get the report I just use the example parallel report on your team 
just give it to me?

after I run on a single account I just got some errors like *"Error with a 
message "The developer token is not approved. Non-approved developer tokens 
can only be used with test accounts.".*

must I apply for basic access to getting the report? since I just got the 
developer account and got the access for the test account

Pada Selasa, 07 Juni 2022 pukul 14.57.10 UTC+7 adsapi menulis:

> Hi Dimas,
>
> I hope that you are doing well today.
>
> Regarding your concern about "*for that part, I mean different MCC",* yes, 
> it is possible to generate a specific list of reports for client accounts 
> from different MCC. However, you must ensure that your email address / 
> email addressed used in the authentication has access to the list of 
> customer id accounts where you want to generate a report.
>
> Please let me know if you have further concerns, and our team would be 
> pleased to assist you.
>
>
>
> Best,
> [image: Google Logo] 
> Anthony Cyril 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bbd9I: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/45359339-7e57-4a9a-a33d-6ab6c44c32d4n%40googlegroups.com.


RE: Google Adwords metrics not in Google Ads API?

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to us.

The keyword state is the status of the main object in a row, with this, it will 
be the ad_group_criterion.status in Google Ads API.

For the MaxCPC, it is the Cost per click bid and upon checking the resource 
mapping, it must be ad_group or ad_group_criterion.effective_cpc_bid_micros, 
this should be campaign/ad group criterion depending on the view.

For the LandingPageExperience, this is the quality score of the landing page. 
That’s why it will be the 
ad_group_criterion.quality_info.post_click_quality_score

For the expectedClickthroughRate,it is Click Through rate compared to that of 
other advertisers and this will be 
ad_group_criterion.quality_info.search_predicted_ctr

And for the AdRelevance, this is the quality score of the ad then this is the 
ad_group_criterion.quality_info.creative_quality_score

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2bcwyO: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/33FBo0RD3LEW00UVa-fVkTRI6C2bLvp5W7QA%40sfdc.net.


Re: can i had multiple account reports from multiple manager? is it possible?

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Dimas,

I hope that you are doing well today.

Regarding your concern about "for that part, I mean different MCC", yes, it is 
possible to generate a specific list of reports for client accounts from 
different MCC. However, you must ensure that your email address / email 
addressed used in the authentication has access to the list of customer id 
accounts where you want to generate a report.

Please let me know if you have further concerns, and our team would be pleased 
to assist you.



Best,

Anthony Cyril
Google Ads API Team
ref:_00D1U1174p._5004Q2bbd9I: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/I6cis0RD3KQS00PzvAM3FvQJyJgdkIE3UOmw%40sfdc.net.


RE: clicks on phone number new google ads api

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Pedro,

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

To take a closer look at the issue "return the phonecalls but not is phone call 
is phone clicks example", could you further explain this and how this issue has 
been observed? It will also be helpful if you can provide relevant information 
such as screenshots and the complete request and response logs with request ID 
and request header generated on your end.

You can provide it via Reply privately to author option. If this option is not 
available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Regards,

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


Error to import Google Ads data of AdGroup

2022-06-07 Thread 'Kwiza kaneria' via Google Ads API and AdWords API Forum
Hi All, 

 We fetch adGroup details from the ad_group report and click 
details from the click_view report. For each day we first fetch the AdGroup 
data and then we fetch the clicks data. 

  For the data imported on June 01, 2022, we have found a few 
clicks that have AdGroupId that are not present in records imported from 
the ad_group report. Can you please guide us to resolve this issue?

   Thank you in advance for your 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/07239ffe-795e-4241-a53c-1db7445ce163n%40googlegroups.com.


Error creating google ad from python

2022-06-07 Thread 'Carlos Rodriguez' via Google Ads API and AdWords API Forum
Hi,
I'm trying to create an ad from python using the google ads api 
(ad_group_ad_service.mutate_ad_group_ads method). The ads contains a 
youtube video asset. As i want to enable and pause the ad several times 
during the day, the ad is created paused (status 
client.enums.AdGroupStatusEnum.PAUSED).
I am getting the error messages: MUTATE_NOT_ALLOWED, 
OPERATION_NOT_PERMITTED_FOR_CONTEXT, INCOMPATIBLE_WITH_RESTRICTION_TYPE. 
The complete error trace is in the attached file.
Does anyone have any idea of the origin of these errors?

Thanks

Carlos 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2d08ca14-3710-4b17-a6bc-c2b272e91baen%40googlegroups.com.
google.ads.googleads.errors.GoogleAdsException: (<_InactiveRpcError of RPC that 
terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = 
"{"created":"@1654178705.031072000","description":"Error received from peer 
ipv4:172.217.17.10:443","file":"src/core/lib/surface/call.cc","file_line":953,"grpc_message":"Request
 contains an invalid argument.","grpc_status":3}"
>, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = 
"{"created":"@1654178705.031072000","description":"Error received from peer 
ipv4:172.217.17.10:443","file":"src/core/lib/surface/call.cc","file_line":953,"grpc_message":"Request
 contains an invalid argument.","grpc_status":3}"
>, errors {
  error_code {
mutate_error: MUTATE_NOT_ALLOWED
  }
  message: "Mutates are not allowed for the requested resource."
  trigger {
string_value: "VIDEO"
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
  }
}
errors {
  error_code {
context_error: OPERATION_NOT_PERMITTED_FOR_CONTEXT
  }
  message: "The operation is not allowed for the given context."
  trigger {
string_value: "VIDEO"
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
  }
}
errors {
  error_code {
ad_error: INCOMPATIBLE_WITH_RESTRICTION_TYPE
  }
  message: "The associated ad is not compatible with restriction type."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "ad"
}
  }
}
errors {
  error_code {
ad_group_ad_error: AD_TYPE_CANNOT_BE_PAUSED
  }
  message: "Cannot pause an adgroup ad with this ad type."
  trigger {
int64_value: 2
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "status"
}
  }
}
errors {
  error_code {
collection_size_error: TOO_FEW
  }
  message: "Too few."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "ad"
}
field_path_elements {
  field_name: "app_ad"
}
  }
}
errors {
  error_code {
mutate_error: RESOURCE_NOT_FOUND
  }
  message: "Resource was not found."
  trigger {
int64_value: 40320527421
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "ad"
}
field_path_elements {
  field_name: "app_ad"
}
field_path_elements {
  field_name: "youtube_videos"
  index: 0
}
field_path_elements {
  field_name: "asset"
}
  }
}


RE: Daily report request limit

2022-06-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hugo,

Thank you for including the Google Ads API team in this thread.

To have a closer look at the issue, could you please elaborate on "Google Ads 
API to limit the number of requests to 1000 per day" so that we can assist you 
even further?

Please let me know if you have further concerns and our team will be happy to 
provide support.



Best,

Anthony Cyril
Google Ads API Team
ref:_00D1U1174p._5004Q2bcvVq: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/Vb3_m0RD3FIU00p01z7XXKTtmXObjXPvxLIQ%40sfdc.net.