I want to get user list usage status in Google Ads API

2022-08-09 Thread kume
Hello

I want to use the Google Ads API to get the "usage status" of the 
user_List, is there an API to get it?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/13e7f417-86e9-4604-9092-17a094daaa8bn%40googlegroups.com.


Re: I want to get the enable customer ID that under my mmc account by GAQL

2022-08-09 Thread Automated Analytics API
Thank you for your response.
And other thing i would like to know if the customer id type is not manager
account

On Mon, 8 Aug 2022 at 16:58, Google Ads API Forum Advisor
 wrote:

> Hi,
>
> Thank you for raising this concern to our team. This is Carmela from the
> Google Ads API team.
>
> Moving forward to your concern,  for you to get the customers with ENABLED
> status, you may try adding the customer.status = 'ENABLED' or
> customer_client.status = 'ENABLED' in the WHERE clause of the query.
>
> Regards,
> [image: Google Logo]
> Carmela
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2dIOzx:ref
>

-- 
> Automated Analytics confidentiality statement This email and
any files 
transmitted with it are confidential and intended solely for the use
of the 
individual or entity to whom they are addressed. If you have received
this 
email in error please notify the system manager. This message contains
confidential information and is intended only for the individual named. If 
you
are not the named addressee you should not disseminate, distribute or 
copy this
e-mail. Please notify the sender immediately by e-mail if you 
have received
this e-mail by mistake and delete this e-mail from your 
system. If you are not
the intended recipient you are notified that 
disclosing, copying, distributing
or taking any action in reliance on the 
contents of this information is
strictly prohibited. WARNING: Computer 
viruses can be transmitted via email.
The recipient should check this email 
and any attachments for the presence of
viruses. The company accepts no 
liability for any damage caused by any virus
transmitted by this email. 
E-mail transmission cannot be guaranteed to be
secure or error-free as 
information could be intercepted, corrupted, lost,
destroyed, arrive late 
or incomplete, or contain viruses. The sender therefore
does not accept 
liability for any errors or omissions in the contents of this
message, 
which arise as a result of e-mail transmission. The views and opinions
included in this email belong to their author and do not necessarily mirror 
the
views and opinions of the company. Our employees are obliged not to 
make any
defamatory clauses, infringe, or authorize infringement of any 
legal right.
Therefore, the company will not take any liability for such 
statements included
in emails. In case of any damages or other liabilities 
arising, employees are
fully responsible for the content of their emails. 
Automated Analytics Sidings Court 2A Doncaster DN4 5NU, UNITED KINGDOM, 
Tel: 01302 636 278

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAA7R-NKaXfvuSjB2XH7Xhai0HO6iXHyp%3DCQCvveat2WhNG5WMg%40mail.gmail.com.


403 Error when using sa account impersonation auth token to call google ads api

2022-08-09 Thread Samantha Kapai
Hello

I am trying to access the googleads api using service accounts. To test it 
locally I am using impersonation getting back an access token and using 
that to make calls to the google ads api.

Below is my request 

curl -f  -v --request POST 
"https://googleads.googleapis.com/v11/customers/1234567/googleAds:search; \

--header "Content-Type: application/json" \

--header "developer-token: 12345" \

--header "login-customer-id:1234567" \

--header  "Authorization: Bearer $(gcloud 
--impersonate-service-account=...@sojern-platform-dev.iam.gserviceaccount.com
 
auth print-access-token)" \

--data '{

"pageSize": 10,

"query": "

  SELECT campaign.name,

campaign_budget.amount_micros,

campaign.status,

campaign.optimization_score,

campaign.advertising_channel_type,

metrics.clicks,

metrics.impressions,

metrics.ctr,

metrics.average_cpc,

metrics.cost_micros,

campaign.bidding_strategy_type

  FROM campaign

  WHERE segments.date DURING LAST_7_DAYS

AND campaign.status != 'REMOVED'

"

}'

The service account has domain wide access to the google ads api. 

Do any special permissions need to be given to the impersonating account?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf0331e2-891f-4806-b847-6beef75ab1ffn%40googlegroups.com.


Updating Budget Amount on Explicitly Shared Campaigns

2022-08-09 Thread Chris Martinez
I keep getting an error: 
d: , IsFault: True, FaultMessage: Cannot change explicitly shared campaign 
budgets back to implicitly shared ones.
Request with ID "" failed with status "INVALID_ARGUMENT" and includes the 
following errors:
Error with message "Cannot change explicitly shared campaign 
budgets back to implicitly shared ones.".
On field: operations
On field: update
On field: explicitly_shared

I am not looking to update their SHARED status, just their budget amount.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf7d05c0-5280-48ea-b44a-256cc34b0ca6n%40googlegroups.com.


Re: Migration from Old PHP lib to new

2022-08-09 Thread Shelly Saju
Currently using V6 API.

On Tuesday, August 9, 2022 at 8:50:01 PM UTC+5:30 Shelly Saju wrote:

> I'm trying to update this functionality to the new library.
> (new AdWordsSessionBuilder())
> ->withDeveloperToken('xx')
> ->withUserAgent(UserAgent::DEFAULT)
> ->withOAuth2Credential($oauth2);  
> But I can't find AdWordsSessionBuilder class in the new library. Could you 
> please help me out in trying to migrate to the new library.
>
> Thanks
> Shelly
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0e1f3e5f-89f1-4481-bdb1-e72c0395c162n%40googlegroups.com.


Migration from Old PHP lib to new

2022-08-09 Thread Shelly Saju
I'm trying to update this functionality to the new library.
(new AdWordsSessionBuilder())
->withDeveloperToken('xx')
->withUserAgent(UserAgent::DEFAULT)
->withOAuth2Credential($oauth2);  
But I can't find AdWordsSessionBuilder class in the new library. Could you 
please help me out in trying to migrate to the new library.

Thanks
Shelly


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/32594f85-e179-4e17-b985-71d28b9fbdefn%40googlegroups.com.


RE: No data for manage placement view.

2022-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Melker,

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

Can you please provide full screen screenshot of the UI of what you are looking 
for? Please reply via privately author option.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2dIsSx: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/ISv710RGCQ2300NmcjNwzNQLWUnCRlTIyhKQ%40sfdc.net.


Re: How do you use the Google Ads API to update an asset that has the TextAsset type?

2022-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Thinh,

Could you give this another try?

Regards
Anash
ref:_00D1U1174p._5004Q2b6mFz: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/ShBRW0RGCP5100XU8W6MxzTsCI92ovn2gmMA%40sfdc.net.


Re: User in the cookie is not a valid Ads user

2022-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thanks for getting back to us.

Kindly see below responses to your queries:

But, what I don't understand is how are we using OAuth2 for a Microservice. I 
mean, when I create the OAuth2 credentials, it requires me to select between 
one between: Android, Chrome App, IOS, TV and desktop App. My application is a 
backend microservice, so none of these matches with what I want.

>> Kindly note that there are two app type options for the Google Ads API:

Desktop apps
Web apps



You may consider to use Desktop apps as an option in your backend microservice. 
For more information, you may refer to this page.

Also, when I prepare for verification the consent screen it requires me some 
staff focus in my users, when the only user I have, and the only user that will 
see this consent screen, is myself.

Specially the Youtube video where I need to explain how will I use the scope in 
my app... It is totally focus in a front end application, which will have 
authorised users. What I am I suppose to record in this video, the Java code of 
my backend microservice?

>> The document provided by my colleague explains what exactly needs to be 
>> recorded. You may check below:

Please ensure that the YouTube link to a demo video demonstrates the OAuth 
grant process by users and explains the usage of sensitive and restricted 
scopes within the app’s functionality for each OAuth client belonging to the 
project.
Note that the video must clearly show the app's details such as the app name, 
OAuth Client ID, etc. as applicable.
The demo video must show usage of sensitive and restricted scopes on each 
client.
Including the video along with the verification request will speed up the 
approval process significantly. Note that approval will not be granted if scope 
usage on each OAuth client ID is not adequately explained.
Additionally, if any of your OAuth clients in the project requesting 
verification are not ready to be productionized, we will be unable to complete 
our review and your request will be rejected. We require that you separate your 
testing/development and production projects. Our teams will thoroughly review 
your apps.


For more information on OAuth verification, refer to below links:

How to verify: OAuth API verification FAQs - Google Cloud Platform Console Help
General information: Unverified apps - Google Cloud Platform Console Help

Regards,

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


RE: Update Bidding Strategy to TargetCPA

2022-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Gagandeep,

Thanks for reaching out to the Google Ads API Forum.

Since you mentioned that while updating the bidding strategy, you encountered 
an ​​OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE error, then for us to 
investigate further, could you please provide us with the complete request and 
response logs with the request-id generated in text format? You may enable 
logging so you’ll get complete request and response logs along with request-id 
by navigating to the Client libraries > Your client library (ex Java) > Logging 
documentation, which you can access from this link.

Please provide the complete logs via reply privately to author option.

Regards,

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


RE: Google ads API vs UI

2022-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Tal,

Thank you for raising this concern to the Google Ads API Forum.

It seems that you are encountering the discrepancy between Google ads API and 
Google Ads UI. To have a clearer view, could you please provide the complete 
API logs within the format of request and response logs with the request-id 
that generated on your end also the screenshot of the Google Ads UI where we 
can see the discrepancy? This information will help our team to further check 
this. If you haven't yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. Java) > Logging documentation, which you 
can access from this link.

For security privacy purposes, 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 regards,

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


Re: User in the cookie is not a valid Ads user

2022-08-09 Thread Marketing Technology
Hi Anthony.

Thanks for the response.

Then I think that our only choice at this point would be to try with 
OAuth2. 

But, what I don't understand is how are we using OAuth2 for a Microservice. 
I mean, when I create the OAuth2 credentials, it requires me to select 
between one between: Android, Chrome App, IOS, TV and desktop App. My 
application is a *backend* microservice, so none of these matches with what 
I want.

Also, when I prepare for verification the consent screen it requires me 
some staff focus in *my users*, when the only user I have, and the only 
user that will see this consent screen, is myself. 
Specially the Youtube video where I need to explain how will I use the 
scope in my app... It is totally focus in a front end application, which 
will have authorised users. What I am I suppose to record in this video, 
the Java code of my backend microservice?

I don't know if I am missing something.

Best regards,
On Tuesday, 9 August 2022 at 14:09:54 UTC+2 adsapi wrote:

> Hi,
>
> Thanks for getting back to us.
>
> It appears that the link got broken while being sent due to system issues. 
> However, you may please check the response sent from our end with valid 
> links below:
>
> *“Hello,*
>
>
>
> *Thank you for reaching out to us. Let me do the best I can to assist you 
> in this.*
>
> *I can see that you have received the NOT_ADS_USER error when you 
> attempted to connect to the API. The **NOT_ADS_USER* 
> *
>  error 
> is encountered when the service account has not been correctly linked to 
> the Google Ads account via the OAuth2 assertion flow. Please take note that 
> the email address you may have used to generate the credentials should have 
> access or be associated with Google Ads accounts. *
>
> *In order to connect to Google Ads API using a Google service account, you 
> will need a **Google Workspace domain* * since 
> it is a prerequisite for using service accounts. Since you mentioned that 
> you’re using service account credentials, could you confirm if you already 
> followed all the mentioned **requirements* 
> 
> *:*
>
>1. *The service account that you created needs to be granted **domain 
>wide delegation access* * by 
>a super administrator for the domain.* 
>2. *Using a Google Ads user with permissions on the Google Ads account 
>you want to access. * 
>3. *Make sure that you have your own domain registered with Google 
>Workspace.* 
>4. *Service account will have the ability to impersonate any user in 
>the domain* 
>
> *You may refer to this **API documentation* 
> * 
> that 
> discusses how to access the Google Ads API with service accounts. * 
>
> *In addition, kindly note that, we strongly recommend using** OAuth2 
> installed app or web flows * 
> *instead
>  
> of service accounts unless you need domain-specific features (for example, 
> impersonation). OAuth2 installed application and web flows require user 
> interaction only once, when access to the account is granted. You need to 
> implement the code set up on your end to make calls using service accounts. 
> “*
>
> With regards to your follow up questions, Please see below responses:
>
> *1) Is there a way to create authentication for a microservice without 
> Google Workspace Domain?*
>
>-  To be honest there is no way to create authentication for a service 
>account without Google Workspace Domain. 
>
> *2) About Oauth2, in our case, we want to send ourselves the information 
> about all users once a day, with our calculations, so I guess the OAuth2 is 
> not an option for us, right? Or we may use it.*
>
>- We strongly suggest you use oauth authentication instead. 
>
> *3) If I try to use Oauth2, I need to put the consent screen in prod mode, 
> and they ask me to put a video in Youtube, and some staff that shouldn't 
> apply to a microservice...*
>
>- yes you need to veiry your oauth2 for the production mode you can 
>find more information on what needs to go into the video here 
>
> 
>. 
>
>  
>
> Best regards,
> [image: Google Logo] 
> Anthony Cyril 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2dIQUS: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 

No data for manage placement view.

2022-08-09 Thread Melker Holmgren
Hello,

We have got an screen shot from customer showing the google ads UI for 
their campaigns including 'placement data'. But when we query the Google 
Ads Api we get no data. See query below.  The 'ad group type' 
is VIDEO_TRUE_VIEW_IN_STREAM any known issues or restrictions for this type?

"SELECT customer.descriptive_name, customer.time_zone, 
campaign.advertising_channel_type, campaign.advertising_channel_sub_type, 
campaign.id, campaign.name, campaign.tracking_url_temp
late, campaign.url_custom_parameters, campaign.final_url_suffix, 
ad_group.name, ad_group.id, ad_group.type, ad_group.tracking_url_template, 
ad_group.final_url_suffix, ad_group_criterion.display_name, 
ad_group_criterion.criterion_id, ad_group_criterion.p
lacement.url, ad_group_criterion.type, 
ad_group_criterion.youtube_channel.channel_id, 
ad_group_criterion.youtube_video.video_id, segments.date, 
metrics.active_view_impressions, 
metrics.active_view_measurable_cost_micros, metrics.active_view_measurable_i
mpressions, metrics.clicks, metrics.cost_micros, metrics.engagements, 
metrics.gmail_forwards, metrics.gmail_saves, 
metrics.gmail_secondary_clicks, metrics.impressions, metrics.impressions, 
metrics.interactions, metrics.video_views, customer.currency_cod
e FROM managed_placement_view WHERE segments.date BETWEEN '2022-07-15' AND 
'2022-07-28'"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0d9a0a1f-9162-49de-994c-4d4d5ebda679n%40googlegroups.com.


Re: User in the cookie is not a valid Ads user

2022-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thanks for getting back to us.

It appears that the link got broken while being sent due to system issues. 
However, you may please check the response sent from our end with valid links 
below:

“Hello,

Thank you for reaching out to us. Let me do the best I can to assist you in 
this.

I can see that you have received the NOT_ADS_USER error when you attempted to 
connect to the API. The NOT_ADS_USER error is encountered when the service 
account has not been correctly linked to the Google Ads account via the OAuth2 
assertion flow. Please take note that the email address you may have used to 
generate the credentials should have access or be associated with Google Ads 
accounts.

In order to connect to Google Ads API using a Google service account, you will 
need a Google Workspace domain since it is a prerequisite for using service 
accounts. Since you mentioned that you’re using service account credentials, 
could you confirm if you already followed all the mentioned requirements:

The service account that you created needs to be granted domain wide delegation 
access by a super administrator for the domain.
Using a Google Ads user with permissions on the Google Ads account you want to 
access.
Make sure that you have your own domain registered with Google Workspace.
Service account will have the ability to impersonate any user in the domain

You may refer to this API documentation that discusses how to access the Google 
Ads API with service accounts.

In addition, kindly note that, we strongly recommend using OAuth2 installed app 
or web flows instead of service accounts unless you need domain-specific 
features (for example, impersonation). OAuth2 installed application and web 
flows require user interaction only once, when access to the account is 
granted. You need to implement the code set up on your end to make calls using 
service accounts. “

With regards to your follow up questions, Please see below responses:

1) Is there a way to create authentication for a microservice without Google 
Workspace Domain?

To be honest there is no way to create authentication for a service account 
without Google Workspace Domain.

2) About Oauth2, in our case, we want to send ourselves the information about 
all users once a day, with our calculations, so I guess the OAuth2 is not an 
option for us, right? Or we may use it.

We strongly suggest you use oauth authentication instead.

3) If I try to use Oauth2, I need to put the consent screen in prod mode, and 
they ask me to put a video in Youtube, and some staff that shouldn't apply to a 
microservice...

yes you need to veiry your oauth2 for the production mode you can find more 
information on what needs to go into the video here.


Best regards,

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


Filtering Location Extension in a Campaign Feed

2022-08-09 Thread Hugo Picard
Hello,

We're trying to filter the location on a campaign using a campaign Feed 
based on the informations found in this documentation : 
https://developers.google.com/google-ads/api/docs/location-extensions/filtering-location-extensions#filtering_location_extensions

We're creating a campaignFeed targeting specific location's labels.  We're 
getting an error regarding the matching function and the placeholder but we 
seems to do exactly what it's in the documentation 

Body: customer_id: "7714867186"
operations {
  create {
placeholder_types: LOCATION
matching_function {
  function_string: "CONTAINS_ANY(FeedAttribute[356967118,14],{\"S4M 
Paris\"})"
}
feed: "customers/7714867186/feeds/356967118"
campaign: "customers/7714867186/campaigns/17998583407"
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=j5IBeehY1ojIGlVUF3x5jA,date=Tue,
 
09 Aug 2022 11:47:04 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 {
function_error: INVALID_FUNCTION_FOR_PLACEHOLDER
  }
  message: "The matching function is not allowed for the specified 
placeholder"
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "matching_function"
}
  }
}
request_id: "j5IBeehY1ojIGlVUF3x5jA"

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.
Request ID j5IBeehY1ojIGlVUF3x5jA failed due to GoogleAdsException. 
Underlying errors:
  Error 0: error_code {
  function_error: INVALID_FUNCTION_FOR_PLACEHOLDER
}
message: "The matching function is not allowed for the specified 
placeholder"
trigger {
  string_value: ""
}
location {
  field_path_elements {
field_name: "operations"
index: 0
  }
  field_path_elements {
field_name: "create"
  }
  field_path_elements {
field_name: "matching_function"
  }
}

Can you help ?

Regards,

Hugo

-- 




You received this electronic message as part of a business or 
employment relationship with one or several Ask Locala entities. Its 
content is strictly confidential and is covered by the obligation of 
confidentiality and business secrecy. Any dissemination, copying, printing 
distribution, retention or use of the message’s content or any attachments 
that could be detrimental to Ask Locala is forbidden, even if it was 
forwarded by mailing lists. 
If you are not the intended recipient, please 
notify the sender of the error without delay and delete permanently this 
email and any files from your system and destroy any printed copies. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b350d533-3531-4fad-9fbc-57836f624496n%40googlegroups.com.


Re: Updating dynamic ad targets

2022-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi EO,

Thank you for the reply. I'm also a member of the Google Ads API support team 
and allow me to assist you here.

In order to check this in our end, we will be needing the screenshots of the 
Google Ads UI where we can see the steps that show the process you described. 
For security privacy purposes, 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 regards,

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


Google ads API vs UI

2022-08-09 Thread 'Tal Goldstein' via Google Ads API and AdWords API Forum
Hi,
When we try to get data using the 
API keywordPlanServiceClient.generateKeywordIdeas,
we find that we get numbers that are different than the ones that we see in 
the Google Ads UI.
In both we target only English language, Country=USA, we use the same 
account number,
any idea why we get different numbers ?

Thanks,
Tal

-- 
The above terms reflect a potential business arrangement, are provided 
solely as a basis for further discussion, and are not intended to be and do 
not constitute a legally binding obligation. No legally binding obligations 
will be created, implied, or inferred until an agreement in final form is 
executed in writing by all parties involved.


This email and any 
attachments hereto may be confidential or privileged.  If you received this 
communication by mistake, please don't forward it to anyone else, please 
erase all copies and attachments, and please let me know that it has gone 
to the wrong person. 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/5087f010-ad9d-47b6-902b-debafd040671n%40googlegroups.com.


Update Bidding Strategy to TargetCPA

2022-08-09 Thread Gagandeep Singh
Hi,

I try to update campaign bidding strategy to target_cpa but I got error 
"OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE".

Request:
campaign_service = client.get_service("CampaignService")
campaign_operation = client.get_type("CampaignOperation")
campaign = campaign_operation.update
campaign.resource_name = campaign_service.campaign_path(customer_id, 
campaign_id)
target_cpa = campaign.target_cpa
target_cpa.target_cpa_micros = 5000

Response:
operation_access_denied_error: OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9ae95cf8-5363-45f4-9d4a-a5a1cb8303e5n%40googlegroups.com.


Re: Updating dynamic ad targets

2022-08-09 Thread EO
Hello!

Thank you for quickly replying!
It is configured on the Google Ads Console, what part would you want me to 
send a screenshot of, specifically?

Thank you!

On Tuesday, August 9, 2022 at 6:48:15 PM UTC+9 adsapi wrote:

> Hi EO,
>  
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>
>
> With regards to your concern, to better check this issue, could you please 
> provide a full screenshot of that campaign and an ad group already 
> configured on your end ? So our team further checks if it is possible to 
> automate this through the API.
>
> You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2dInfx: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/77710c72-3b2d-4c2d-ae80-40d0dc284803n%40googlegroups.com.


Missing Video Campaign

2022-08-09 Thread Melker Holmgren
Hello,

We are  downloading ad data for Video campaigns but are missing one 
campaign.
Is there any restrictions for Video campaigns?

This is the query:
"SELECT customer.descriptive_name, customer.time_zone, 
campaign.advertising_channel_type, campaign.advertising_channel_sub_type, 
campaign.id, campaign.name, campaign.tracking_url_template, 
campaign.url_custom_parameters, campaign.final_url_suffix
, ad_group.name, ad_group.id, ad_group.type, 
ad_group.tracking_url_template, ad_group.final_url_suffix, 
ad_group_ad.ad.id, ad_group_ad.ad.type, ad_group_ad.ad.text_ad.headline, 
ad_group_ad.ad.expanded_text_ad.headline_part1, 
ad_group_ad.ad.expanded_text_ad.headline_part2, 
ad_group_ad.ad.expanded_text_ad.headline_pa
rt3, ad_group_ad.ad.expanded_text_ad.description, 
ad_group_ad.ad.text_ad.description1, ad_group_ad.ad.text_ad.description2, 
ad_group_ad.ad.expanded_text_ad.description2, ad_group_ad.ad.final_urls, 
ad_group_ad.ad.final_mobile_urls, ad_group_ad.ad.tracking_url_template, 
ad_group_ad.ad.final_url_suffix, ad_group_ad.ad
.name, ad_group_ad.ad.responsive_search_ad.headlines, 
ad_group_ad.ad.app_ad.headlines, 
ad_group_ad.ad.responsive_display_ad.headlines, 
ad_group_ad.ad.image_ad.image_url, ad_group_ad.ad.image_ad.pixel_height, 
ad_group_ad.ad.image_ad.pixel_width, 
ad_group_ad.ad.image_ad.preview_image_url, ad_group_ad.ad.url_custom_pa
rameters, ad_group_ad.ad.expanded_dynamic_search_ad.description, 
ad_group_ad.ad.expanded_dynamic_search_ad.description2, 
ad_group_ad.ad.display_url, ad_group_ad.ad.expanded_text_ad.path1, 
ad_group_ad.ad.expanded_text_ad.path2, 
ad_group_ad.ad.responsive_search_ad.descriptions, 
ad_group_ad.ad.responsive_search_ad.pat
h1, ad_group_ad.ad.responsive_search_ad.path2, 
ad_group_ad.ad.responsive_display_ad.long_headline, 
ad_group_ad.ad.responsive_display_ad.descriptions, 
ad_group_ad.ad.responsive_display_ad.call_to_action_text, 
ad_group_ad.ad.responsive_display_ad.control_spec.enable_asset_enhancements, 
ad_group_ad.ad.responsive_displ
ay_ad.control_spec.enable_autogen_video, 
ad_group_ad.ad.display_upload_ad.display_upload_product_type, 
segments.date, metrics.active_view_impressions, 
metrics.active_view_measurable_cost_micros, 
metrics.active_view_measurable_impressions, metrics.clicks, 
metrics.cost_micros, metrics.engagements, metrics.gmail_forwa
rds, metrics.gmail_saves, metrics.gmail_secondary_clicks, 
metrics.impressions, metrics.impressions, metrics.interactions, 
metrics.video_views, metrics.top_impression_percentage, 
metrics.absolute_top_impression_percentage, customer.currency_code 
FROM ad_group_ad 
WHERE segments.date BETWEEN '2022-08-01' AND '2022-08-07'"

Best regards
Melker Holmgren @ Funnel


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/15799466-2e26-459d-9bd9-9f30589ade81n%40googlegroups.com.


Re: User in the cookie is not a valid Ads user

2022-08-09 Thread Marketing Technology
Hi again.

It seems our company is not using Google Workspace Domain, and we are not 
planning to use it.

Is there a way to create authentication for a microservice without Google 
Workspace Domain?

Thanks!

On Tuesday, 9 August 2022 at 09:21:59 UTC+2 Marketing Technology wrote:

> Hi, thanks for the answer.
>
> About Service Credentials, I think the only thing we didn't follow is 
> using a Google Workspace Domain. I'll investigate about it, because we 
> weren't using it.
>
> About Oauth2, in our case, we want to send ourselves the information about 
> all users once a day, with our calculations, so I guess the *OAuth2* is 
> not an option for us, right?
> Or we may use it.
> If I try to use Oauth2, I need to put the consent screen in prod mode, and 
> they ask me to put a video in Youtube, and some staff that shouldn't apply 
> to a microservice...
>
> Other thing, I can't see the links you sent, login with this Google 
> Account.
>
> Thanks!
>
> On Monday, 8 August 2022 at 14:30:07 UTC+2 adsapi wrote:
>
>> Hello,
>>
>> Thank you for reaching out to us. Let me do the best I can to assist you 
>> in this. 
>>
>> I can see that you have received the NOT_ADS_USER error when you 
>> attempted to connect to the API. The NOT_ADS_USER 
>> 
>>  error 
>> is encountered when the service account has not been correctly linked to 
>> the Google Ads account via the OAuth2 assertion flow. Please take note that 
>> the email address you may have used to generate the credentials should have 
>> access or be associated with Google Ads accounts. 
>>
>>  
>>
>> In order to connect to Google Ads API using a Google service account, you 
>> will need a *Google Workspace domain* 
>> 
>>  since 
>> it is a prerequisite for using service accounts. Since you mentioned that 
>> you’re using service account credentials, could you confirm if you already 
>> followed all the mentioned *requirements* 
>> 
>> :
>>
>>1. The service account that you created needs to be granted domain 
>>wide delegation access 
>>
>> 
>>  by 
>>a super administrator for the domain. 
>>2. Using a Google Ads user with permissions on the Google Ads account 
>>you want to access.  
>>3. Make sure that you have your own domain registered with Google 
>>Workspace. 
>>4. Service account will have the ability to impersonate any user in 
>>the domain 
>>
>>  
>>
>> You may refer to this *API documentation* 
>> 
>>  that 
>> discusses how to access the Google Ads API with service accounts. 
>>
>>  
>>
>> In addition, kindly note that, we strongly recommend using* OAuth2 
>> installed app or web flows * 
>> instead
>>  
>> of service accounts unless you need domain-specific features (for example, 
>> impersonation). OAuth2 installed application and web flows require user 
>> interaction only once, when access to the account is granted. You need to 
>> implement the code set up on your end to make calls using service accounts. 
>> Regards,
>> [image: Google Logo] 
>> Teejay Wennie 
>> Google Ads API Team 
>>   
>>  
>>
>> ref:_00D1U1174p._5004Q2dIQUS: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/01334072-cf8d-4356-a2bb-0dfcd423a2f6n%40googlegroups.com.


Re: User in the cookie is not a valid Ads user

2022-08-09 Thread Marketing Technology
Hi, thanks for the answer.

About Service Credentials, I think the only thing we didn't follow is using 
a Google Workspace Domain. I'll investigate about it, because we weren't 
using it.

About Oauth2, in our case, we want to send ourselves the information about 
all users once a day, with our calculations, so I guess the *OAuth2* is not 
an option for us, right?
Or we may use it.
If I try to use Oauth2, I need to put the consent screen in prod mode, and 
they ask me to put a video in Youtube, and some staff that shouldn't apply 
to a microservice...

Other thing, I can't see the links you sent, login with this Google Account.

Thanks!

On Monday, 8 August 2022 at 14:30:07 UTC+2 adsapi wrote:

> Hello,
>
> Thank you for reaching out to us. Let me do the best I can to assist you 
> in this. 
>
> I can see that you have received the NOT_ADS_USER error when you attempted 
> to connect to the API. The NOT_ADS_USER 
> 
>  error 
> is encountered when the service account has not been correctly linked to 
> the Google Ads account via the OAuth2 assertion flow. Please take note that 
> the email address you may have used to generate the credentials should have 
> access or be associated with Google Ads accounts. 
>
>  
>
> In order to connect to Google Ads API using a Google service account, you 
> will need a *Google Workspace domain* 
> 
>  since 
> it is a prerequisite for using service accounts. Since you mentioned that 
> you’re using service account credentials, could you confirm if you already 
> followed all the mentioned *requirements* 
> 
> :
>
>1. The service account that you created needs to be granted domain 
>wide delegation access 
>
> 
>  by 
>a super administrator for the domain. 
>2. Using a Google Ads user with permissions on the Google Ads account 
>you want to access.  
>3. Make sure that you have your own domain registered with Google 
>Workspace. 
>4. Service account will have the ability to impersonate any user in 
>the domain 
>
>  
>
> You may refer to this *API documentation* 
> 
>  that 
> discusses how to access the Google Ads API with service accounts. 
>
>  
>
> In addition, kindly note that, we strongly recommend using* OAuth2 
> installed app or web flows * 
> instead
>  
> of service accounts unless you need domain-specific features (for example, 
> impersonation). OAuth2 installed application and web flows require user 
> interaction only once, when access to the account is granted. You need to 
> implement the code set up on your end to make calls using service accounts. 
> Regards,
> [image: Google Logo] 
> Teejay Wennie 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2dIQUS: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/902080f5-2411-421d-a0ab-1feac8529204n%40googlegroups.com.


Updating dynamic ad targets

2022-08-09 Thread EO
Hello,
I have a campaign and an ad group already configured. It is only used for 
dynamic search ads. Every day, through 'Ad dynamic ad target' → 'Create a 
new rule to target specific webpages' → 'Use exact URLs', I upload a list 
of URLs after I remove the ones which were previously there. I want to 
automate this through the API, everything is already set, I just need to 
remove the ads previously created and generate dynamic search ads for the 
ad group by using only a list of links.
Any information would be greatly appreciated! 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/380ea01e-7810-418b-8986-162df3ff4f41n%40googlegroups.com.


Re: CREATE_OPERATION_NOT_PERMITTED

2022-08-09 Thread Nora
Hello,
thank you for the quick reply. This is exactly what I had already 
suspected. 
Only this behavior has not been documented so far
https://developers.google.com/google-ads/api/docs/ads/customize-ads?hl=en

Regards
Nora

adsapi schrieb am Montag, 8. August 2022 um 15:08:02 UTC+2:

> Hi Nora, 
>
> Thank you for the reply. To give you the background of this error, it 
> occurs when you are modifying a feed using an API which is attached to an 
> expanded text Ads. However, so that we can check if this is indeed a 
> scenario that you encountered, it would be helpful if you can provide us 
> the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end also with error as also mentioned by my colleague.
>
> For logging instructions for our Java 
> 
> , .NET 
> 
> , PHP 
> 
> , Python 
> 
> , Ruby 
> 
>  and Perl 
>  
> Ads API Client 
> Libraries. If you are using our REST interface 
>  then the 
> full multi line curl command line is a request log and adding curl command 
> line option '-i' will also generate a response log.
>
> For security privacy purposes, 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 googleadsa...@google.com.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2cwYVc: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/318a9de1-4c80-4bd8-9a3e-745e69d8d1ecn%40googlegroups.com.