Re: Got "DUPLICATE_SYSTEM_FEED" error when called FeedService

2020-01-16 Thread Enam Mino
Hi Anthony,
I'm try to create a Location extension for the customer account present in 
my MCC.
I use the code explained in this example 
https://developers.google.com/adwords/api/docs/samples/php/extensions
In some case, depend on customer's email, i receive the 
response DUPLICATE_SYSTEM_FEED, in other case the response 
INVALID_AUTH_TOKEN_FOR_EMAIL

Thank you for your assistance.
Enam

On Thursday, January 16, 2020 at 9:36:13 PM UTC+1, adsapiforumadvisor wrote:
>
> Hi Enam,
>
> Upon checking Wu's account, it looks like there was already a Google My 
> Business feed available in the account. Your Google Ads account can have 
> only one ENABLED feed linked to a Google My Business account. If you 
> attempt to create another GMB feed using the ADD operation, the request 
> will fail with an error. 
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5001UKOWYb: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/8293aba6-3c58-4a27-bb30-e04ece7a9485%40googlegroups.com.


Re: Got "DUPLICATE_SYSTEM_FEED" error when called FeedService

2020-01-16 Thread Enam Mino
Hi,
are you solved the problem?
I've the same problem.
Thank toy,
Enam

On Friday, October 25, 2019 at 9:44:39 PM UTC+2, adsapiforumadvisor wrote:
>
> Hello Wu, 
>
> The DUPLICATE_SYSTEM_FEED is usually seen if there is already a feed with 
> the given system feed generation data. Could you please share the complete 
> request and response logs, so I can take a closer look? You can share the 
> details privately via *Reply privately to author* option.
>
> Regards,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UKOWYb: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/589d68d6-e9a0-4952-96f4-3233371f31c7%40googlegroups.com.


Re: GMB Extension FeedError.INVALID_AUTH_TOKEN_FOR_EMAIL

2020-01-16 Thread Enam Mino
Hi,
I have the same problem, but in my GET call the httpRequestUrl is 
https://www.googleapis.com/auth/adwords
It is exactly the url indicate in the guide

The complete error I receive is this
[FeedError.INVALID_AUTH_TOKEN_FOR_EMAIL @ 
operations[0].operand.systemFeedGenerationData.oAuthInfo; 
trigger:'x...@xxx.com']

and my code of call is this

$feedService = 
$this->adWordsServiceFactory->getFeedService($adWordsAccount->getAccount(), 
$adWordsAccount->getCustomerId());
$gmbFeed = new Feed();
$gmbFeed->setName('Google My Business feed #' . uniqid('', true));
$feedData = new PlacesLocationFeedData();
$feedData->setEmailAddress('x...@x.com');
$oAuth2Credential = (new OAuth2TokenBuilder())
->withClientId($this->managerClientId)
->withClientSecret($this->managerClientSecret)
->withRefreshToken($this->managerRefreshToken)
->build();
$oAuthInfo = new OAuthInfo();
$oAuthInfo->setHttpMethod('GET');

$oAuthInfo->setHttpRequestUrl('https://www.googleapis.com/auth/adwords');
$oAuthInfo->setHttpAuthorizationHeader(
sprintf('Bearer %s', 
$oAuth2Credential->fetchAuthToken()['access_token'])
);
$feedData->setOAuthInfo($oAuthInfo);
$gmbFeed->setSystemFeedGenerationData($feedData);
$gmbFeed->setOrigin(FeedOrigin::ADWORDS);
$operation = new FeedOperation();
$operation->setOperator(Operator::ADD);
$operation->setOperand($gmbFeed);
$operations = [$operation];
$addedFeed = $feedService->mutate($operations)->getValue()[0];

I used exactly the code explained in this example 
https://developers.google.com/adwords/api/docs/samples/php/extensions
and error is generated from mutate 
$feedService->mutate($operations)->getValue()[0];

Thanks,
Enam


On Thursday, April 6, 2017 at 11:39:28 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Jon, 
>
> The scope of the OAUTH_ACCESS_TOKEN you provide in the 
> httpAuthorizationHeader 
> 
>  
> should be "https://www.googleapis.com/auth/adwords";, same as the value 
> provided in the httpRequestUrl 
> .
>  
> If you use an access token with scope "
> https://www.googleapis.com/auth/plus.business.manage";, you'll encounter 
> FeedError.INVALID_AUTH_TOKEN_FOR_EMAIL. Please see this guide 
> 
>  
> for more information on creating the oAuthInfo 
> 
>  
> object.
>
> Regards,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"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/c4e6186c-c3ef-4c7f-bc67-18625bde120e%40googlegroups.com.


Re: GMB Extension FeedError.INVALID_AUTH_TOKEN_FOR_EMAIL

2020-01-16 Thread Enam Mino
xx

On Thursday, April 6, 2017 at 11:39:28 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Jon, 
>
> The scope of the OAUTH_ACCESS_TOKEN you provide in the 
> httpAuthorizationHeader 
> 
>  
> should be "https://www.googleapis.com/auth/adwords";, same as the value 
> provided in the httpRequestUrl 
> .
>  
> If you use an access token with scope "
> https://www.googleapis.com/auth/plus.business.manage";, you'll encounter 
> FeedError.INVALID_AUTH_TOKEN_FOR_EMAIL. Please see this guide 
> 
>  
> for more information on creating the oAuthInfo 
> 
>  
> object.
>
> Regards,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"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/fe7caabc-35d9-4dc0-adc0-222477e51e02%40googlegroups.com.


Re: Update Expanded dynamic search ads description and description2

2020-01-07 Thread Enam Mino
Hi Mitchell,
I sent you a private response,
Regards,
Enam


On Friday, December 20, 2019 at 7:45:40 PM UTC+1, adsapiforumadvisor wrote:
>
> Hi Enam,
>
> Thank you for reaching out. Can you please share your complete detailed 
> request and response logs for the call *via reply privately to author *so 
> that I can further investigate the issue? You can find information on 
> enabling logging in the ReadMe of your client library 
>  (or here 
>  if you're 
> using Google Ads API).
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001UOEzbI: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/bf34e1bd-ce19-4e8b-9d26-8eb18891689e%40googlegroups.com.


Update Expanded dynamic search ads description and description2

2019-12-20 Thread Enam Mino
Hi,
when I try to update the description and the description2 in "Expanded 
dynamic search ads" the API return this error
<<[AdError.CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR @ operations[0].operand.ad]>>
I use Operator:SET
It is possible to update this fields?
What's my error?
Thanks,
Walter

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f4ac7ee3-58d8-4270-8408-b9e344576a2e%40googlegroups.com.


Re: How to delete value for DomainName in dynamic search ads

2019-12-17 Thread Enam Mino
Hi Nikisha,
I've verified that I can set the domainName for the campaign that not is a 
dynamic search campaign, but It is impossible to remove this value.

Thanks,
Walter

Il giorno lunedì 16 dicembre 2019 21:56:24 UTC+1, adsapiforumadvisor ha 
scritto:
>
> Hi Enam,
>
> Thank you for reaching out. It is required to specify the domain while 
> setting up campaigns to create dynamic search ads 
> 
>  
> with the API, said that, you cannot remove the domain in dynamic search 
> ads. Let us know if you need any additional information.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UOEdaB: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/93b5524c-3bef-4e36-8b45-3b4da7346dd4%40googlegroups.com.


How to delete value for DomainName in dynamic search ads

2019-12-16 Thread Enam Mino
Hi,
you know what is the way to remove the domain in dynamic-search-ads?
setDomainName($mydomain) don't work if $mydomain variable is null or an 
empty string.
Thanks,
Walter

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dc72f9d0-690d-473d-9ecb-4683e9a6345e%40googlegroups.com.