Re: Image ad create usingn API

2020-07-29 Thread denma test
Sorry, actually i found the fixes, since the imageAd class extends creative 
class which has display URL getter setter. Now am stuck with upload image 
process,

public function addImage(){
$session = self::setSession();
$adWordsServices = new AdWordsServices();
$assetService = $adWordsServices->get($session, 
AssetService::class);
$adGroupAdService = $adWordsServices->get($session, 
AdGroupAdService::class);
$adGroupId = '104834039189';

$ImageAd = new ImageAd();

$ImageAd->setName('ad imagesss');

$ImageAd->setDisplayUrl('https://mydisplayurl.com');

 // Set a marketing image.
$marketingImageAsset = new imageAsset();
  
$marketingImageAsset->setAssetId(
self::uploadImageAsset($assetService, 
'http:///Download/test_img.jpeg')
);

 $ImageAd->setImage([
new AssetLink(
$marketingImageAsset
)]
);

 // Create ad group ad.
$adGroupAd = new AdGroupAd();
$adGroupAd->setAdGroupId($adGroupId);
$adGroupAd->setAd($ImageAd);

// Create ad group ad operation and add it to the list.
$operation = new AdGroupAdOperation();
$operation->setOperand($adGroupAd);
$operation->setOperator(Operator::ADD);

// Add a responsive display ad on the server.
try{
$result = $adGroupAdService->mutate([$operation]);
$success = array('success');
return $success;
}catch (ApiException $apiException) {
return $apiException;
}

Issue:

[errorString:protected] => AdError.EMPTY_FIELD
[ApiErrorType:protected] => AdError
[parameterMap:Google\AdsApi\AdWords\v201809\cm\ApiError:private] => Array   
 ([ApiError.Type] => ApiErrorType   
 ))[1] => 
Google\AdsApi\AdWords\v201809\cm\NullError Object(  
  [reason:protected] => NULL_CONTENT
[fieldPath:protected] => operations[0].operand.ad.image.data

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/01d26a18-e9c7-4abc-8ad7-74f07fd849c8o%40googlegroups.com.


Re: API for video campaign data

2020-07-29 Thread Ciro Monteiro
Hi, Xiaoming. Thanks for answering me.

When I use the class "AdWordsClient" (because I want to get data from user 
authenticated in my system), I need to pass the following arguments:
- developer_token (string), which I generated in my non-approved manager 
account;
- oauth2_client, which I generated assigning 
googleads.oauth2.GoogleRefreshTokenClient("OAuth 2.0 Client ID" of Google 
Ads API (web application), "OAuth 2.0 Client secret" of Google Ads API (web 
application), refresh_token obtained from social connection)
- client_customer_id, which I get manually from a test account that I know 
it's not a manager account because it doesn't show the settings for API 
that is shown in the manager account.

The AdWordsClient creation seems to work just fine.

I try to run my script and it stops in the line with 
"adwords_client.GetReportDownloader(version='v201809').DownloadReportWithAwql". 
I get the following error message:

*googleads.errors.AdWordsReportBadRequestError: Type: 
ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH*

I know from here 

 
this message is related to an idea of trying to get report from manager 
account (that I understand it shouldn't be possible, it makes sense to 
allow reports only from advertiser account), but the customer_id provided 
in AdWordsClient mentioned above belongs to a test (non-manager) account. 
One observation: the Google Account related to the token stored has both 
accounts (manager, with the developer token provided, and the test 
non-manager account). Is that a real problem? I create the test account here 
,
 
then I use the Create a test manager account 
, even if I do it with 
another Google Account created only for this, I still get the error message 
above (after changing the user's tokens, of course). The 'developer token' 
is the same, from my corporate Google Account 
(ciro.monte...@aevotech.com.br, which I use from the beginning of this 
process), I only change the test advertiser account, that I created for 
cirossmonteiro.aevot...@gmail.com, a Google Account created only for this 
purpose.


On Wednesday, July 29, 2020 at 12:52:20 PM UTC-3 adsapiforumadvisor wrote:

> Hi Ciro,
>
> Thank you for reaching out. You could follow this guide 
>  to 
> set up the Adwords API and create necessary credentials and install the 
> python 
> client library  to 
> start making API calls. For retrieving data from the client’s account, you 
> could query the Video Performance Report 
> 
>  
> and it provides all sorts of metrics for the video campaigns.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>  
>
> ref:_00D1U1174p._5004Q22Zs3J:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/278f86bc-0001-4fae-a95a-d1d57e5850fcn%40googlegroups.com.


Re: Missing Required Authentication

2020-07-29 Thread Mario Anes
Hi,

Just to confirm, I'm looking to access the Google Ads API, instead of 
AdWords API.  But since from what I understand the authentication is the 
same, yes, I have followed the steps to create client credentials (
https://developers.google.com/google-ads/api/docs/first-call/oauth-cloud-project).
  
I have tried putting them both in properties file, and set them manually in 
code.  Using client id and client secret I get a refresh token.  Then using 
the dev token, refresh token, client id, and client secret in the program 
to make API call.

Best,
Mario
On Wednesday, July 29, 2020 at 10:45:11 AM UTC-7 adsapiforumadvisor wrote:

> Hi Mario,
>
> Thank you for the update with the logs. I took a closer look at this issue 
> and it looks like you're missing your client credentials. Have you followed 
> these 
> steps 
> 
>  
> to create your client credentials, and have you put them in the properties 
> file that holds your developer token, refresh token, and client 
> credentials? Could you check that you have set your client credentials and 
> try the call again?
>
>
> Thank you,
> Bryan, Google Ads API Team
>
> ref:_00D1U1174p._5004Q22ZQeA:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f73969f6-4ded-498b-b813-5652c9bda657n%40googlegroups.com.


Re: Upgrade to v2 to v4 google-ads-php

2020-07-29 Thread Adrian Lara
Ty i send msg 

On Wednesday, July 29, 2020 at 10:04:37 AM UTC-4 adsapiforumadvisor wrote:

> Hi Adrian,
>
> Since is specific to the PHP library, I'd recommend reaching out to the 
> client library owners here 
>  since they are 
> better suited to resolve this issue.
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q22Zovw:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0f4e515f-20da-4f56-8577-0bdcdff7dd4cn%40googlegroups.com.


RE: Google adwords api :: User interest for search campaigns

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. The CriterionUserInterest is not applicable to the 
Search Campaign. Please refer to this Criteria Usage table for more information.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q22a7l1:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cyclq0QE8YK500_3FPuEsrRBSkJCNmnwbLGw%40sfdc.net.


Google adwords api :: User interest for search campaigns

2020-07-29 Thread SR
We tried to add user interest (CriterionUserInterest) for search campaign 
using AdGroupCriterionOperation but it returns error saying 
"CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS". Please let us know whether 
any of the user interest can be added for search campaigns.

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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/351eeec6-687d-4c8e-a0e2-5f320cb1f6a1n%40googlegroups.com.


RE: Recommendation Service API question.

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi Ryan,

Thank you for reaching out. You can see here for an example of getting all Text 
Ad recommendations. This example uses the recommendation report so you can 
modify it by using the different attributes listed there. For example, to get 
recommendations of type KEYWORD, you can change 'WHERE recommendation.type = 
TEXT_AD' to be 'WHERE recommendation.type = KEYWORD' and make sure you add 
recommendation.keyword_recommendation to your SELECT clause. You can find the 
available recommendation types for the report here. Let me know if this is what 
you're looking for. If not, can you please provide screenshot of the UI along 
with customer id so that i can further investigate the issue.please reply 
privately to author options while sharing the details.

Thanks,
Nirmita Patel Google Ads Team
ref:_00D1U1174p._5004Q22ZtJg:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/F_uP-0QE8VDN00fKMoPKxfRJu99nZjusmbYQ%40sfdc.net.


RE: Structured Snippet Extensions

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi Roman,

Thank you for reaching out. Can you please share the detailed request and 
response logs for your API calls and also a screenshot of the UI showing the 
issue via Reply privately to author so I can further investigate the issue? You 
can find information on enabling logging in the ReadMe of your client library.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5004Q22Zx4a:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/O8huk0QE8V3J00LQ098DJIT969CKrzPFzsXg%40sfdc.net.


RE: Campaign status Misconfigured

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi Dunog,

Thanks for reaching out.  With regards to your concern, can you please provide 
customer id so that i can further investigate the issue. Please ensure you 
"Reply privately to author" when providing this information.

Thanks,
Nirmita Patel Google Ads Team
ref:_00D1U1174p._5004Q22Zu7M:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/gNCzV0QE8UWT00wbbqdo-2TECT1dRwWvUXkw%40sfdc.net.


RE: Remaketing Youtube users

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hello,

Thank you for reaching out! Unfortunately, YouTube Users are still not yet 
supported for Remarketing using the AdWords API or Google Ads API. I have 
raised a feature request for this in Google Ads API. You will have to continue 
using the UI in the meantime. Please follow our blog for any announcements or 
updates regarding this feature.

Thanks,
Danica, Google Ads API Team
ref:_00D1U1174p._5004Q22Zu35:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/UUXsa0QE8SYW00rek6Bcr2Qnudob2doQr-Ng%40sfdc.net.


Re: Missing Required Authentication

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi Mario,

Thank you for the update with the logs. I took a closer look at this issue and 
it looks like you're missing your client credentials. Have you followed these 
steps to create your client credentials, and have you put them in the 
properties file that holds your developer token, refresh token, and client 
credentials? Could you check that you have set your client credentials and try 
the call again?

Thank you,
Bryan, Google Ads API Team
ref:_00D1U1174p._5004Q22ZQeA:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/idVBR0QE8RYM00-27zztVnQJqWi_T5kt_A9g%40sfdc.net.


RE: Image ad create usingn API

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. You should be able to set the displayUrl field of 
the ImageAd object. If you are still having issues, please share your code as 
well as your complete detailed request and response logs via Reply privately to 
author so I can further investigate the issue. You can find information on 
enabling logging in the ReadMe of your client library.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5004Q22ZyiL:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/46-me0QE8PF2007yA7TKftSPSq2-vFlvHVdQ%40sfdc.net.


RE: API for video campaign data

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi Ciro,

Thank you for reaching out. You could follow this guide to set up the Adwords 
API and create necessary credentials and install the python client library to 
start making API calls. For retrieving data from the client’s account, you 
could query the Video Performance Report and it provides all sorts of metrics 
for the video campaigns.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q22Zs3J:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d5_-b0QE8MQP00jlPNWeP-R6yRrPvTK9eQ7A%40sfdc.net.


Re: Missing Required Authentication

2020-07-29 Thread Mario Anes
Hi Bryan,

Thanks for your reply.  It doesn't seem that I have permission to use the 
reply privately to author, even after setting gmail as the handler for 
mailto.  I followed the instruction here, 
https://support.google.com/a/users/answer/9308783?hl=en, set my Windows 
setting for default mail application as chrome, and restarted my computer.  
Is there another set of instruction I should follow to have the permission?

In the meantime, I'm using the c# library and here's the response header 
when I use the TraceUtilities class.  It doesn't seem to contain sensitive 
info:


Response

Headers: {
  "request-id": "PdWDMfaB85bFxnmfvZKX1w",
  "date": "Wed, 29 Jul 2020 14:51:49 GMT",
  "alt-svc": "h3-29=\":443\"; ma=2592000,h3-27=\":443\"; 
ma=2592000,h3-T050=\":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\"",
  "google.ads.googleads.v4.errors.googleadsfailure-bin": 
"CiwKA4gBAhIlQXV0aGVudGljYXRpb24gb2YgdGhlIHJlcXVlc3QgZmFpbGVkLg==",
  "grpc-status-details-bin": 
"CBAS1wFSZXF1ZXN0IGlzIG1pc3NpbmcgcmVxdWlyZWQgYXV0aGVudGljYXRpb24gY3JlZGVudGlhbC4gRXhwZWN0ZWQgT0F1dGggMiBhY2Nlc3MgdG9rZW4sIGxvZ2luIGNvb2tpZSBvciBvdGhlciB2YWxpZCBhdXRoZW50aWNhdGlvbiBjcmVkZW50aWFsLiBTZWUgaHR0cHM6Ly9kZXZlbG9wZXJzLmdvb2dsZS5jb20vaWRlbnRpdHkvc2lnbi1pbi93ZWIvZGV2Y29uc29sZS1wcm9qZWN0Lhp1CkN0eXBlLmdvb2dsZWFwaXMuY29tL2dvb2dsZS5hZHMuZ29vZ2xlYWRzLnY0LmVycm9ycy5Hb29nbGVBZHNGYWlsdXJlEi4KLAoDiAECEiVBdXRoZW50aWNhdGlvbiBvZiB0aGUgcmVxdWVzdCBmYWlsZWQu"
}

Fault: {
  "StatusCode": 16,
  "Details": "Request is missing required authentication credential. 
Expected OAuth 2 access token, login cookie or other valid authentication 
credential. See 
https://developers.google.com/identity/sign-in/web/devconsole-project.;,
  "RequestId": "PdWDMfaB85bFxnmfvZKX1w",
  "Failure": {
"errors": [
  {
"errorCode": {
  "authenticationError": "AUTHENTICATION_ERROR"
},
"message": "Authentication of the request failed."
  }
]
  }
}

Best,
Mario

On Tuesday, July 28, 2020 at 9:00:11 AM UTC-7 adsapiforumadvisor wrote:

> Hi Mario,
>
> Thank you for reaching out to us. I see that you're having trouble 
> connecting to the API using your credentials. Could you provide me with 
> your request and response logs for where you encounter this error linking 
> to the API so that I can further investigate this concern? For privacy, you 
> can reply using "reply privately to the author".
>
> Thank you,
> Bryan, Google Ads API Team
>
> ref:_00D1U1174p._5004Q22ZQeA:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cc7814a7-4a09-410e-a63a-fd1cad9fde8fn%40googlegroups.com.


RE: What's the difference between group_placement_view and detail_placement_view?

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi,

The group_placement_view maps to the Placements menu on the left of the UI then 
to the WHERE ADS SHOWED tab. While there is currently no UI view of the  
detail_placement_view, this was previously found in the Display Network tab 
then to the inner Placements tab then clicking the See details->All menu in the 
old AdWords UI.

The field group_placement_target_url is given at the group_placement level, 
whereas the placement field is from the detail level.

Regards,
Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q22ZxL2:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/kDDtB0QE8IFL00vm3Mi99YTlWqL3NIJnOg3w%40sfdc.net.


Re: Missing Required Authentication

2020-07-29 Thread Mario Anes
Hi Bryan,

Thanks for your reply.  It doesn't seem that I have permission to use the 
reply privately to the author button.  Is there instructions on how I can 
get that access?

Best,
Mario

On Tuesday, July 28, 2020 at 9:00:11 AM UTC-7 adsapiforumadvisor wrote:

> Hi Mario,
>
> Thank you for reaching out to us. I see that you're having trouble 
> connecting to the API using your credentials. Could you provide me with 
> your request and response logs for where you encounter this error linking 
> to the API so that I can further investigate this concern? For privacy, you 
> can reply using "reply privately to the author".
>
> Thank you,
> Bryan, Google Ads API Team
>
> ref:_00D1U1174p._5004Q22ZQeA:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a67b8921-47fe-419c-9d48-22333c7dc805n%40googlegroups.com.


RE: Upgrade to v2 to v4 google-ads-php

2020-07-29 Thread Google Ads API Forum Advisor Prod
Hi Adrian,

Since is specific to the PHP library, I'd recommend reaching out to the client 
library owners here since they are better suited to resolve this issue.

Regards,
Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q22Zovw:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f-Q_50QE8HPN00-X7JupsCQbuQAM8_ZLcJRQ%40sfdc.net.


Image ad create usingn API

2020-07-29 Thread denma test
Cannot create imageAd using adwords API. Am using "use 
Google\AdsApi\AdWords\v201809\cm\ImageAd;" it throws errors as

 [errorString:protected] => AdError.EMPTY_FIELD
[ApiErrorType:protected] => AdError
[parameterMap:Google\AdsApi\AdWords\v201809\cm\ApiError:private] => Array   
 ([ApiError.Type] => ApiErrorType   
 ))[1] => 
Google\AdsApi\AdWords\v201809\cm\AdError Object(
[reason:protected] => EMPTY_FIELD[fieldPath:protected] 
=> operations[0].operand.ad.displayUrl

but in imageAds class file there is no getter setter for displayUrl. Anyone can 
please help me to sort it out. 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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6ff61c9e-fabb-49a6-a8f2-27df547659d1o%40googlegroups.com.


What's the difference between group_placement_view and detail_placement_view?

2020-07-29 Thread 'Dong Chen' via AdWords API and Google Ads API Forum
Hi team,

What's the difference between group_placement_view and 
detail_placement_view? What't the difference between 
"detail_placement_view.placement
" and "detail_placement_view.group_placement_target_url
"could you give me an example?  

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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/59c89ca3-6374-4ec4-ba18-cc00a069f3efn%40googlegroups.com.


Structured Snippet Extensions

2020-07-29 Thread Roman Bondarenko
Hello! 

Have an issue using API for Structured Snippet Extensions.
*Description*: 
There is a field in API "header" which should contains exactly localised 
header with no information which localisation is used and because of that 
there are some issues. When same header is the same for several languages. 
For e.g. *Models* header is the same for English and Catalan. (This is only 
one example, there are more... )
It causes some issues, because when I create new structured snippet 
extensions through API with header: *Models* it is always displays on 
platform as Catalan language localisation as API does not provide any 
ability to send also language code for chosen header. And UI must be 
displaying language for first matching header in the list of header 
localisation. 

How could this be fixed? And maybe there is some solution for the issue?

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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f26b1869-61e2-4897-a988-301a63c13dcbn%40googlegroups.com.


Having access to all CIDs in Google Ads with personal client_customer_id

2020-07-29 Thread 'Lior Kupfer' via AdWords API and Google Ads API Forum
Hi,

I create a python script with personal client_id (lior...@gmail.com) and I 
am able to access all the CIDs in Google Ads when changing 
the client_customer_id.

This is very strange and raises concerns.

code 

 (refresh_token 
removed)

Output for External CID 4506602949: (ss 
)  

Any idea how it can be?

Follow up question, is the access to all CIDs a normal behaviour for an 
internal client_customer_id (google.com)?



Thanks,
Lior

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5576e5e3-a088-444d-814a-e6873c76368en%40googlegroups.com.